Beispiel #1
0
    void Attack()
    {
        character.c_move.BlinkForward(weapon.blink_1);
        character.c_anim.playerAnimator.SetTrigger("meeleAttack1");

        weapon.ActivateHitbox(1, MeeleType.Instant);
    }
Beispiel #2
0
    void Attack()
    {
        character.c_move.MoveForward(weapon.blink_3, weapon.movPeriod_atk3);

        character.c_anim.playerAnimator.SetTrigger("meeleAttack3");

        weapon.ActivateHitbox(3, MeeleType.Persistent);
        character.rb.drag = 0;
    }