// Use this for initialization void Awake() { Screen.SetResolution(1280, 720, true); if (instance != null) { return; } instance = this; DontDestroyOnLoad(this); //GlobalFlags.LoadGlobalFlags(); GlobalFlags.SetCurrentOverworldScene("Overworld"); GlobalFlags.SetCurrentBattleScene("Battle"); InitializeManagers(); InitializeGameStates(); }