Question by 
               unity_GbOhzmF7dS7g0A · Jul 18, 2021 at 11:09 PM · 
                animation  
              
 
              Stop and Play another Animation
I need help on my Gun script. I have an Inspect - animation, which Has a Trigger that get's activated when pressing "y". Problem is, you can still shoot and reload during this time, so i figured it would be good if the inspect-animation would stop as soon as you start either shooting or reloading. How do i manage to do that?
 
                 
                button-inputs-to-start-animations.png 
                (30.2 kB) 
               
 
                
                 
                other-gun-scripting.png 
                (49.2 kB) 
               
 
              
               Comment
              
 
               
              Your answer