// Use this for initialization void Start() { level = new Level(10, 10); LevelManager.applicationIsQuitting = false; // _levelManager = LevelManager.Instance; Camera.main.transform.position = new Vector3(5, 5, -10); _levelEditorObjects = new GameObject(); _levelEditorObjects.name = "Level Editor Objects"; InstantiateLevel(); blockToPaint = Level.BlockType.Dirt; drawType = LevelDrawType.Brush; }
void Awake() { StartBuild(width: 30, height: 10); // 기본 크기로 레벨 초기화 blockToPaint = Level.BlockType.Dirt; drawType = LevelDrawType.Brush; }