mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
Турель теперь тоже блок
This commit is contained in:
@@ -10,6 +10,7 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 8963012862262609948}
|
||||
- component: {fileID: 29170313400163205}
|
||||
- component: {fileID: 7562998883280121027}
|
||||
m_Layer: 0
|
||||
m_Name: TestTurret
|
||||
m_TagString: Untagged
|
||||
@@ -50,6 +51,19 @@ MonoBehaviour:
|
||||
_damage: 0
|
||||
_distance: 0
|
||||
_price: 100
|
||||
--- !u!114 &7562998883280121027
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4097875286209268245}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8d6715c95501a4f49bd34c8832850f32, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::BlockScript
|
||||
_type: 4
|
||||
--- !u!1 &4329906039658757740
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -8,7 +8,8 @@ public class BlockScript : MonoBehaviour
|
||||
None,
|
||||
Grass,
|
||||
Sand,
|
||||
PathFinish
|
||||
PathFinish,
|
||||
Turret
|
||||
}
|
||||
|
||||
[SerializeField] private BlockType _type = BlockType.None;
|
||||
|
||||
Reference in New Issue
Block a user