how to stop animations loopinhg unity code example Example: how to stop animation unity myAnimation.gameObject.GetComponent<Animator>().enabled = false;