public void OnTriggerEnter(Collider other) { PlayerCharacter player = other.GetComponent <PlayerCharacter>(); AICharacter ai = other.GetComponent <AICharacter>(); if (player) { StartCoroutine(LateTransate()); UiManager.manager.Finish(); player.Dance(); } if (ai) { ai.SetMovenet(false); ai.Dance(); } }