예제 #1
0
    void Attacks()
    {
        if (attack1)
        {
            character.Attack1(transform.position, direction);
        }

        if (attack2)
        {
            character.Attack2(transform.position, direction);
        }
    }