I have a problem . The problem is the I don’t why all of the idle , move , and attack animation work. I close and restart unity and report the bug to unity3d . They was say to check the animator controller . It keep saying parameter don’t exist. . I got it to work on other enemy ai’s. I dont’ know why its saying this again. I have everything coded right and parameter right. I can restart the controller. When I look at the animation controller . I doesn’t say it isn’t intialize. Here are some pics :
if (m_DeactivateOnDeath) {
Scheduler.Schedule(m_DeactivateOnDeathDelay, Deactivate);
GetComponent<AudioSource>().Play();
anim.SetTrigger("isDead");
GetComponent<Enemyai>().enabled = false;
}
}
