I'm creating my first video game but i don't know how to make my character make a animation when i click a button. dos any one know how to make this happen.
Thanks, in advanced.
Answer by Loius
Nov 21, 2010 at 07:55 PM
Use object.animation.Play( "animationName" );
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
No one has followed this question yet.
Help with a game!
Chracter Animation or System in Unity..
"Nav Mesh Agent" messes up simple prototype player-gameobject. What's up with that?
Creating Character Animations?
3 lane Character controller switching..?