- Home /
Animators Messing Up On Disable
Hi,
I've tried many times to make a script that switches between weapons.
Fundamentally, the script I recently made works. All it does is if a certain key is pressed, it disables one weapon and enables another. If a different key is pressed, it disables the weapon that was enabled and enables the previously disabled weapon.
However, once I switch weapons a few times, the animator controllers on the objects no longer work. Everything else with the weapons works (Sounds, ammo decreasing, firing etc).
I've looked up these problems and got a bunch of Unity Answers posts with answers that I tried and which didn't work for me. The posts I found were also outdated.
Does anyone have any suggestions? If you need further clarification of anything just ask. Thank you in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220612173527im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Possible to disable or hide an entire layer of animations? 1 Answer
How do I enable and disable animation in the animator controller by keys in unity3d 1 Answer
How to prevent an animation from triggering more than on due to fast clicking? 2 Answers
Using Override Animation Controllers (NOT WORKING) 0 Answers
the animation walk but he still in the same place and rotate left and right on this white circle 0 Answers