Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 //
 void Start()
 {
     enemyScript = ga.GetComponent <Fox_Move>();
 }