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.
Nov 21, 2010 at 02:19 PM
Use object.animation.Play( "animationName" );
Nov 21, 2010 at 07:55 PM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
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.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Nov 21, 2010 at 02:19 PM
Seen: 1867 times
Last Updated: Nov 21, 2010 at 02:19 PM
Help with a game!
Translation of an object
how to change model via script?
character gravity problem
I cant make my Character jump.
Custom Character Script Allowing Movement in the Air?
Occasional taking control of Character Controller
Multiple animations for a character
second character controller ???
Help with CharacterController.Move