I've searched around the web for a while, but didn't manage to find anything about it.
Despite using Animator
in several projects so far, I've never been in this exact situation, so I'm unsure what to do.
Does calling Animator.SetBool
have any performance issue, so that I'd better call it only when its value has changed, or when its value doesn't change it's so quick that I can call it every frame?
Keep in mind that, due to the nature of this question, I don't care if it's slow when I change its value, I only care if it's slow when it's false
and I call it to set it to false
again (same thing for true
ofc).