rm zhens scene change in prev commit

This commit is contained in:
Sveske Juice 2024-04-21 08:54:37 +02:00
parent 06ac262719
commit 8c294ea60a
3 changed files with 67 additions and 149 deletions

File diff suppressed because one or more lines are too long

View File

@ -620,6 +620,7 @@ RectTransform:
- {fileID: 7094050956717546836}
- {fileID: 5203690656153714838}
- {fileID: 4429602029198271624}
- {fileID: 2823721143316666755}
- {fileID: 9000047314404377693}
- {fileID: 6256671941795819917}
m_Father: {fileID: 0}
@ -858,9 +859,9 @@ RectTransform:
- {fileID: 6925912160577396843}
m_Father: {fileID: 1571444269651810830}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 97.85, y: -475.8032}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1590834972027237251
@ -1246,18 +1247,18 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2074820118910961211}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
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:
- {fileID: 9031083463025029788}
- {fileID: 6503638792597430501}
m_Father: {fileID: 5203690656153714838}
m_Father: {fileID: 3367038424042638127}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -1320, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2229423673042055192
@ -1629,9 +1630,9 @@ RectTransform:
- {fileID: 8740154629202535075}
m_Father: {fileID: 1571444269651810830}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 97.85, y: -105}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4030747125337201116
@ -2806,7 +2807,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 769, y: -406}
m_AnchoredPosition: {x: -863.80005, y: -387.09998}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2593507632019896054
@ -3197,7 +3198,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &5203690656153714838
RectTransform:
m_ObjectHideFlags: 0
@ -3213,7 +3214,6 @@ RectTransform:
- {fileID: 9125599128698433918}
- {fileID: 41458428043916546}
- {fileID: 5814772211296616353}
- {fileID: 2823721143316666755}
m_Father: {fileID: 3367038424042638127}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
@ -3343,9 +3343,9 @@ RectTransform:
- {fileID: 2761822326100020935}
m_Father: {fileID: 1571444269651810830}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 97.85, y: -846.6064}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8651936493222350935
@ -4372,9 +4372,9 @@ RectTransform:
- {fileID: 3463979208659812338}
m_Father: {fileID: 1571444269651810830}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 97.85, y: -290.4016}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1595412627603319622
@ -4966,7 +4966,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 885.30005, y: -406}
m_AnchoredPosition: {x: -747.5, y: -387.09998}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2186931942408298377
@ -5089,9 +5089,9 @@ RectTransform:
- {fileID: 1879052238577856330}
m_Father: {fileID: 1571444269651810830}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 97.85, y: -661.2048}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2364807694092123912

View File

@ -61,11 +61,6 @@ public class TowerPlacementManager : MonoBehaviour
OnGridDeleteRequested?.Invoke(this);
OnSpawnGridRequested?.Invoke(this);
}
if (Input.GetKeyDown(KeyCode.Escape))
{
FinishBuild(); // Exit build mode
}
}
private void OnEnable()