1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  3. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
    Dismiss Notice
  4. Unity 5.5 is now released.
    Dismiss Notice
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  6. Unity 5.6 beta is now available for download.
    Dismiss Notice
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
    Dismiss Notice
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
    Dismiss Notice

arms and gun animation

Discussion in 'Scripting' started by iSwat22, Aug 7, 2012.

  1. iSwat22


    Aug 14, 2011
    i have this arms and gun animation that was done in blender when i import it to unity the animation don't work do i need a script to make the arms and gun to move and reload can anyone help me on this ?

    Thank You for any help on this :)
  2. Rastafari


    Jul 18, 2011
    Here is some untested code.

    Code (csharp):
    1. function Update(){
    3. if(Input.GetKeyDown(KeyCode.R)){
    4. animation.Play();
    5. }
    6. }

    Sorry if it diddnt help or worked.
    Last edited: Aug 7, 2012