Question by
MrStormz · May 28, 2017 at 12:07 AM ·
animationnot working
Not animating please help :D
I am fairly new to coding and have been trying to code myself this is a problem i came across.
I am trying to create a script were after at least 1 bullet is shot i can reload. The reload part works but its not doing the animation for the reload or playing the sound can someone help me out?
My code: function Update () { if (Input.GetButtonUp ("R")) { if (Shoot.ammo < 12) { GetComponent.().Play(); GetComponent.().Play(); } } }
Comment