Esempio n. 1
0
 public void EndHold()//player側から誘発
 {
     SetWithPlayerState("");
     InitTarget();
     ThisCharaGeneral.OnKnockBack();
     AnimateEndHold();
     OnCollider();
 }
    private void EndHold()
    {
        SetWithEnemyState("");
        ThisCharaGeneral.OnKnockBack();
        GachaPoint = 0;
        AnimateEndHold();
        OnCollider();

        if (AttackingEnemy != null)
        {
            AttackingEnemy.GetComponent <ControllerEnemy>().EndHold();
        }
        AttackingEnemy = null;
    }