Пример #1
0
 public void EnterState()
 {
     TheMachine.fpc         = TheMachine.FindObjectOfType <FirstPersonController>();
     TheMachine.fpc.enabled = false;
     if (TheMachine.weapon == null)
     {
         TheMachine.SetWeaponRef();
     }
     TheMachine.weapon.enabled = false;
 }