Преглед изворни кода

编辑器怪物种类更新

WGL пре 2 месеци
родитељ
комит
ab85fc30cd

+ 15 - 1
ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/GameMapTile.cs

@@ -45,7 +45,21 @@ public class GameMapTile
 
 	public enum Type { Null = 0,  Tower=1, Enemy=2}
 	public Type type = Type.Null;   // the runtime might use something like this to identify what the placed tile means
-    public enum CH { Tower = 0, EnemyTower = 1,Enemy_1001, Enemy_1002, Enemy_1003, Enemy_1004, Enemy_1005, Enemy_1006, Enemy_1007, Enemy_1013, Enemy_1014 };            // this value could depend on the chosen type. For example, if NPC then this could indicate which NPC prefab to spawn from an array of NPC prefabs.
+    public enum CH { 
+		Tower, 
+		EnemyTower,
+		Enemy_1001, 
+		Enemy_1002, 
+		Enemy_1003, 
+		Enemy_1004,
+		Enemy_1005, 
+		Enemy_1006, 
+		Enemy_1007, 
+		Enemy_1013, 
+		Enemy_1014, 
+		Enemy_Polliwog,
+		ESpirits_Assassin
+	};            // this value could depend on the chosen type. For example, if NPC then this could indicate which NPC prefab to spawn from an array of NPC prefabs.
     public CH ch;
 
 	public Vector2 radius;