Exemplo n.º 1
0
 protected virtual void OnDestroy()
 {
     StopAllCoroutines();
     GameSystem.ClearCache();
     UiManager.BackGround.SetActiveSafe(true);
     ActiveLevel = null;
 }
Exemplo n.º 2
0
 protected virtual void Awake()
 {
     SceneEnter(this);
     GameSystem.ClearCache();
     UiManager.BackGround.SetActiveSafe(false);
 }