コード例 #1
0
 public void Damage(float damage, bool animDamaged)
 {
     if (!fsm.invincibility)
     {
         pstate.hp.value -= damage;
         if (animDamaged)
         {
             fsm.ChScript(Player_State.Damaged);
         }
     }
 }