Page 1 of 1

Animator state not changing

Posted: Mon Jan 12, 2015 8:35 am
by bautistac
Hi,



I added an animator and copied the controller and show/hide animations from the UnityUI demo to my dialog panel. They will not trigger during my conversation. If I leave the animator window open during game, I can tick the show and hide parameters and the window will show and hide correctly. This leads me to believe that the dialog system is just not sending the message to the controller.



I have a canvas group, animator, animator controller, animation states named properly. What am I missing?

Animator state not changing

Posted: Mon Jan 12, 2015 8:56 am
by Tony Li
Two things come to mind to check:



1. Near the bottom of the Unity UI Dialogue UI component, make sure the animator state names are correct in the Animation Transitions section. They should be "Show" and "Hide" if you copied the controller.



2. Make sure the dialogue panel is assigned to the Unity UI Dialogue UI's Dialogue Panel field.



If neither of those help, please post a screenshot of your Unity UI Dialogue UI inspector view and/or send an example project to tony (at) pixelcrushers.com.