IEnumerator TransitionIn() { //disable navigation canNavigate = false; currentNavItem.Deactivate(); // do transition transition.StartTransitionIn(); yield return(new WaitForSeconds(transition.transitionClip.length)); // enable navigation canNavigate = true; currentNavItem.Activate(); }