what i mean with that is that
i wanna make something like the game has a buttom that trigger an animation
like in rpgs
that you have in the interface some mood buttoms and when you click them
the character make something
an example would be
in Mu Online
that when you type in the chat
‘‘hello’’
he waves his hands
(the character)
you get the idea?
if(GUILayout.Button("play animation")) {
animation.Play("myWalkAnimation");
}
Thanks!