Hi,
I want to disable playing animations in 2D game when they are not rendered because in my Profiler my Animation.Update uses more than 80% CPU. According to the docs I can not see in Culling mode any Based on renderes option. I only have:
I do not understand the Culling Mode. It is working but not the way I wanted.
I just created a big trigger box on the animated object. I created script: when player with the camera attached enteres the trigger, turn the animator component on, otherwise (if the player exits the trigger) disable the animator component. Works great. In my game I had about 30 animators always animated. Using this, the performance increased about 120%.