protected override void OnCantMove <T>(T component) { Fox_Move hitPlayer = component as Fox_Move; //hitPlayer.LoseFood(playerDamage); animator.SetTrigger("enemyAttack"); //SoundManager.instance.RandomizeSfx(attackSound1, attackSound2); }
// void Start() { enemyScript = ga.GetComponent <Fox_Move>(); }