//Set variable for interactable buttons at start of script
 public void Awake()
 {
     buttonState_I   = I_Button.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
     buttonState_II  = II_Button.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
     buttonState_III = III_Button.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
     buttonState_IV  = IV_Button.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
 }
 public void Awake()
 {
     //Set variables for interactable buttons at start of script
     buttonStateGreen  = greenButton.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
     buttonStatePink   = pinkButton.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
     buttonStateOrange = orangeButton.GetComponent <Microsoft.MixedReality.Toolkit.UI.Interactable>();
 }
 /// <inheritdoc />
 public virtual void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
 {
     // Click Happened
 }
 /// <inheritdoc />
 public virtual void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1)
 {
     // Voice Command Happened
 }
 /// <summary>
 /// voice command called
 /// </summary>
 /// <param name="state"></param>
 /// <param name="source"></param>
 /// <param name="command"></param>
 /// <param name="index"></param>
 /// <param name="length"></param>
 public override void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1)
 {
     base.OnVoiceCommand(state, source, command, index, length);
     PlayAudio(source);
 }
 /// <summary>
 /// click happened
 /// </summary>
 /// <param name="state"></param>
 /// <param name="source"></param>
 /// <param name="pointer"></param>
 public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
 {
     base.OnClick(state, source);
     PlayAudio(source);
 }
 public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
 {
     uEvent.Invoke();
 }
 public override void OnUpdate(InteractableStates state, Interactable source)
 {
     // using onClick
 }