- Home /
 
 
               Question by 
               scottwaltersjr212 · Dec 23, 2020 at 09:53 PM · 
                animationerrorplayreload  
              
 
              im working on a reload animation and everytime i try to play it i get these errors and i am to tired to keep trying things so i am asking for help.
     ![public void Reload()
     {
         // Checks that the gun is ready to be reloaded
         if (shootState == ShootState.Ready)
         {
             nextShootTime = Time.time + reloadTime;
             shootState = ShootState.Reloading;
             gun.GetComponent<Animation>().Play("gun reload");
         }
     }][1]
 
               [1]: /storage/temp/172979-errors.png
 
                 
                errors.png 
                (18.9 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Animator problem start animation 1 Answer
Play Animation on trigger enter 1 Answer
play animation doesn't work 2 Answers
Animation Crossfade won't play but Animation Play does 1 Answer