瀏覽代碼

新增关卡默认大小140*15

wgl 5 月之前
父節點
當前提交
285338775e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/GameMapsAsset.cs

+ 1 - 1
ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/GameMapsAsset.cs

@@ -37,7 +37,7 @@ public class GameMapsAsset : ScriptableObject
 	public void ClearMap(int idx)
     {
 		GameMap m = new GameMap() { ident = "新增关卡"};
-		m.SetSize(10, 10);
+		m.SetSize(140, 15);
 		m.showIdent = m.ident;
 		maps[idx] = m; 
 	}