コード例 #1
0
    void Attack(GameObject target)
    {
        CharacterStats targetStats = target.GetComponent <CharacterStats>();

        if (targetStats != null)
        {
            combat.Attack(targetStats);
            sounds.AttackAudio();
            //Invoke("Jump2", 0.0f);
        }
    }