- Home /
Question by
SillyQuestionsYOLOYOLO · May 18, 2014 at 05:37 PM ·
c#gunaim
Looping animation on rightmousebutton?
How Do I loop a animation called "Aim" whil I hold down the rightmousebutton? Sorry If I'm bad at scripting but I just need it
Comment
Answer by Jeff-Kesselman · May 18, 2014 at 05:38 PM
(1) Create a looping animation
(2) On Input.MouseButtonDown(1), use Animation.Play
(3) On Input.MouseButtomUp(1), use Animation.Stop
Your answer
Follow this Question
Related Questions
Aiming down gun scope 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Need some help with my gun reloading script 1 Answer
How do i run a function from within another script? 1 Answer