private void Awake() { roomMgr = GetComponent <RoomMgr>(); //0.모든 이벤트 초기화 EventManager.GetInst().EventInit(); //1.맵 생성 roomMgr.CreateMaze(); roomMgr.MiniMapGeneration(); roomMgr.DungeonInitAndCreatePrefab(); roomMgr.DungeonActivate(); //2.플레이어 초기화 player.PlayerInit(); //이벤트,사운드 초기화 SoundManager.GetInst().InitSoundinAwake(); }