diff --git a/Assets/Prefabs/Managers.prefab b/Assets/Prefabs/Managers.prefab new file mode 100644 index 0000000..5ddeed3 --- /dev/null +++ b/Assets/Prefabs/Managers.prefab @@ -0,0 +1,52 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &167310329963132665 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2430881567806754708} + - component: {fileID: 420908950823711560} + m_Layer: 0 + m_Name: Managers + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2430881567806754708 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 167310329963132665} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &420908950823711560 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 167310329963132665} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 00e1f7ea5be7c564faf42d035aec7f53, type: 3} + m_Name: + m_EditorClassIdentifier: + Balance: 0 + IsBuildMode: 0 + ShopSelectedTower: + name: + price: 0 + prefab: {fileID: 0} diff --git a/Assets/Prefabs/Managers.prefab.meta b/Assets/Prefabs/Managers.prefab.meta new file mode 100644 index 0000000..7f9bbf7 --- /dev/null +++ b/Assets/Prefabs/Managers.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9d875dda41d470948bbe6fd408a7e835 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/PlacementSystem/PlacementManager.cs b/Assets/Scripts/PlacementSystem/PlacementManager.cs index 05f81ee..92f7da6 100644 --- a/Assets/Scripts/PlacementSystem/PlacementManager.cs +++ b/Assets/Scripts/PlacementSystem/PlacementManager.cs @@ -29,8 +29,6 @@ public class TowerPlacementManager : MonoBehaviour // Section: Debug public GameObject DebugTowerPrefab; - private bool IsPlacing = true; // Show silluette or nothing - private void Start() { if (Instance != this)