private void OnDestroy() { this.GameController.Release(); this.GameController = null; this.SceneManager = null; this.ResourceManager = null; instance = null; }
protected bool Create() { if (instance != null) { Debug.LogError("Already create instance PermanentryManager"); return(false); } instance = this; return(true); }