Beispiel #1
0
    protected override void OnCantMove <T>(T component)
    {
        Player_Script hitPlayer = component as Player_Script;

        hitPlayer.AlterFood(-playerDamage);
        animator.SetTrigger("enemyAttack");
    }