Exemplo n.º 1
0
    // Start is called before the first frame update


    public void DealAttack(string side = "middle")
    {
        if (Random.value < blockChance)
        {
            _motion.TwoTouchAction();
            _motion.DealAttackAction(side);
        }
        else
        {
            _motion.DealAttackAction(side);
        }
    }
Exemplo n.º 2
0
 private void TwoTouchEvent()
 {
     _player.TwoTouchAction();
 }