Example #1
0
 private void FixedUpdate()
 {
     if (_manager._HP >= 0)
     {
         _fsm.Invoke();
     }
 }
Example #2
0
 private void FixedUpdate()
 {
     if (_manager._HP > 0)
     {
         //Debug.Log(gameObject.GetInstanceID().ToString() + " " + (FallenState)_fsm.GetCurrentStateID());
         _fsm.Invoke();
     }
 }
Example #3
0
 private void FixedUpdate()
 {
     if (Hero.instance.Manager._Health > 0)
     {
         _fsm.Invoke();
         CheckGround();
     }
 }