IEnumerator HintRoutine(ControllerLayoutHintRoutine routine)
        {
            Player player = Player.instance;

            VRPlayer.UI.VRControllerHintsUI.HideAllHints();

            while (true)
            {
                for (int i = 0; i < routine.routineNodes.Length; i++)
                {
                    VRPlayer.UI.VRControllerHintsUI.ShowHint(routine.routineNodes[i].inputType, routine.routineNodes[i].hand, routine.routineNodes[i].name);
                    yield return(new WaitForSeconds(routine.timeBetweenButtons));

                    VRPlayer.UI.VRControllerHintsUI.HideHint(routine.routineNodes[i].inputType, routine.routineNodes[i].hand);
                    yield return(new WaitForSeconds(0.5f));

                    yield return(null);
                }
                VRPlayer.UI.VRControllerHintsUI.HideAllHints();
                yield return(new WaitForSeconds(routine.timeBetweenRepeats));
            }
        }
 public void PlayControllerLayoutHintRoutine(ControllerLayoutHintRoutine routine)
 {
     currentHintRoutine = StartCoroutine(HintRoutine(routine));
 }