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

            instance = this;
            return(true);
        }