I have an Animator component and it seems to be conflicting with a script I have which adds a force to a sprite? I don’t need the animator active after the player clicks on the screen but I can’t figure out a way to deactivate the Animator on my GameObject? Now I know how to do it with an Animation component but those don’t work with sprites. thanks in advance!
Would this not work?
Animator a = GetComponent<Animator>().enabled = false;