Ejemplo n.º 1
0
 // Token: 0x06001A31 RID: 6705 RVA: 0x000115ED File Offset: 0x0000F7ED
 public void Dispose()
 {
     if (!this.isDisposed)
     {
         this.isDisposed = true;
         AutoMonoBehaviour <UnityRuntime> .Instance.OnUpdate -= this.OnUpdate;
         GameStateHelper.ExitGameMode();
     }
 }
 // Token: 0x06001960 RID: 6496 RVA: 0x00087C8C File Offset: 0x00085E8C
 public void Dispose()
 {
     if (!this.isDisposed)
     {
         this.isDisposed = true;
         AutoMonoBehaviour <UnityRuntime> .Instance.OnUpdate -= this.OnUpdate;
         GameState.Current.PlayerData.SendJumpUpdate         -= base.Operations.SendJump;
         GameState.Current.PlayerData.SendMovementUpdate     -= base.Operations.SendUpdatePositionAndRotation;
         GameStateHelper.ExitGameMode();
     }
 }
Ejemplo n.º 3
0
 // Token: 0x060019C8 RID: 6600 RVA: 0x00088F94 File Offset: 0x00087194
 public void Dispose()
 {
     if (!this.isDisposed)
     {
         this.isDisposed = true;
         AutoMonoBehaviour <UnityRuntime> .Instance.OnUpdate -= this.OnUpdate;
         GameState.Current.PlayerData.SendJumpUpdate         -= base.Operations.SendJump;
         GameState.Current.PlayerData.SendMovementUpdate     -= base.Operations.SendUpdatePositionAndRotation;
         global::EventHandler.Global.RemoveListener <GlobalEvents.InputChanged>(new Action <GlobalEvents.InputChanged>(this.OnInputChangeEvent));
         GameStateHelper.ExitGameMode();
     }
 }