OnAnimatorMove has been removed from the messager component because it was taking control of Animator component even if you didn’t actually want to use it, because Unity simply looks for whether or not OnAnimatorMove method is implemented.
If you want to be able to use it, please do the following:
Open up AgentUtilities.cs and add this anywhere:
1
2
3
4
5
voidOnAnimatorMove(){
Send("OnAnimatorMove");
}
OnAnimatorMove can now be forwarded to your tasks.
Remember that to listen for a message in your task you need to use the EventListener class attribute. For example:
1
2
3
4
5
6
7
8
9
[EventListener("OnAnimatorMove")]
publicclassMyTask:ActionTask{
publicvoidOnAnimatorMove(){
//...
}
}
I will make AgentUtilities a partial class in the next version so that you dont have to alter the source