Пример #1
0
 // Token: 0x06000EC8 RID: 3784 RVA: 0x0000AAA1 File Offset: 0x00008CA1
 private void OnPlayerUnpaused(GameEvents.PlayerUnpause ev)
 {
     AutoMonoBehaviour <InputManager> .Instance.IsInputEnabled = true;
     Singleton <QuickItemController> .Instance.IsEnabled       = false;
     GameState.Current.Player.EnableWeaponControl = false;
     Screen.lockCursor = true;
     global::EventHandler.Global.Fire(new GameEvents.PlayerIngame());
 }
Пример #2
0
 // Token: 0x06000EBA RID: 3770 RVA: 0x0006305C File Offset: 0x0006125C
 private void OnPlayerUnpaused(GameEvents.PlayerUnpause ev)
 {
     AutoMonoBehaviour <InputManager> .Instance.IsInputEnabled = true;
     Singleton <QuickItemController> .Instance.IsEnabled       = true;
     GameState.Current.Player.EnableWeaponControl = true;
     Screen.lockCursor = true;
     LevelCamera.SetMode(LevelCamera.CameraMode.FirstPerson, null);
     if (!Singleton <WeaponController> .Instance.CheckWeapons(Singleton <LoadoutManager> .Instance.GetWeapons()))
     {
         GameState.Current.Player.InitializeWeapons();
     }
     global::EventHandler.Global.Fire(new GameEvents.PlayerIngame());
 }
 // Token: 0x06000EA6 RID: 3750 RVA: 0x00003C87 File Offset: 0x00001E87
 private void OnUnpause(GameEvents.PlayerUnpause ev)
 {
 }