Example #1
0
 // Token: 0x06002CE4 RID: 11492 RVA: 0x00024BDE File Offset: 0x00022DDE
 public override void OnDestroy()
 {
     base.OnDestroy();
     TeleporterController.Instance = null;
     SuspensionManager.Unregister(this);
     Events.Scheduler.OnGameReset.Remove(new Action(this.OnGameReset));
 }
 public void OnDestroy()
 {
     if (Instance == this)
     {
         Instance = null;
     }
     SuspensionManager.Unregister(this);
 }
 // Token: 0x06001779 RID: 6009 RVA: 0x0007B810 File Offset: 0x00079A10
 public override void OnDestroy()
 {
     SuspensionManager.Unregister(this);
     if (this.FrustrumOptimized)
     {
         CameraFrustumOptimizer.Unregister(this);
     }
     if (this.m_registeredToSceneRootDisabled)
     {
         Events.Scheduler.OnSceneRootDisabled.Remove(new Action <SceneRoot>(this.OnSceneUnloaded));
     }
     base.OnDestroy();
 }
Example #4
0
 // Token: 0x060018DF RID: 6367
 public override void OnDestroy()
 {
     base.OnDestroy();
     SuspensionManager.Unregister(this);
 }
 // Token: 0x060000AF RID: 175 RVA: 0x000023E2 File Offset: 0x000005E2
 public void OnDestroy()
 {
     SuspensionManager.Unregister(this);
 }
Example #6
0
 // Token: 0x06003433 RID: 13363 RVA: 0x00029722 File Offset: 0x00027922
 public override void OnDestroy()
 {
     InstantiateUtility.Destroy(this.m_systemsGameObject);
     SuspensionManager.Unregister(this);
     base.OnDestroy();
 }