i am working in c# i would like to know how to turn on the animator component when a bool is true see picture.
Try this:
yourAnimator.enabled = yourBoolean;
@username
get the gameobject on which your animator component attached the make it enable or disable.
Or take
public Animator anim;
anim.enabled = false;
