Hi everybody.
I wanted to know if there is any way to use a GameObject as a Toggle button to play a character animation.
I have a character on the middle of my scene, and 5 (Cube) Game Object on the side.
I want to assign to each of these GO a character animation (Jump/Run/Walk/…), so when I clic on the Run GameObject the character starts to run.
And When I clic on the GO again the character stops to run and returns to idle position.
Could anyone help?