private void Awake() { instance = this; Config = GameInstance.Get(); InitializeSubsystems(); DontDestroyOnLoad(this); }
private void Awake() { if (!GameInstanceBase.Get()) { GameInstanceBase gameInstance = new GameObject("GameInstance").AddComponent <GameInstanceBase>(); } InitializeSubsystems(); }