void Update() { if (PlayerController.PlayerModelActive) { foreach (Animator Go in Animation) { if (Go.gameObject.activeSelf) { Go.SetBool("Moving", Moving); } } } }