Animator state not changing

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bautistac
Posts: 14
Joined: Tue Jan 06, 2015 5:31 pm

Animator state not changing

Post 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?
User avatar
Tony Li
Posts: 21020
Joined: Thu Jul 18, 2013 1:27 pm

Animator state not changing

Post 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.
Post Reply