private void Awake() { if (Instance != null) { Destroy(gameObject); return; } Instance = this; //DontDestroyOnLoad(gameObject); #region Get All Resource if (gameLevelFolder != "") { // Game Level Data lsGameLevel = Resources.LoadAll <GameLevel>("ScriptableObjects/GameManager/" + gameLevelFolder); } #endregion // 게임 옵션 초기화 gameOption.Init(); // 상태 초기화 if (GameManager.Instance.playState != null) { GameManager.Instance.playState.playState = PlayStateType.None; } }