/// <summary> /// Gets the Toggle interactable used in the demo. /// </summary> /// <returns>The input field used in the demo.</returns> public Interactable[] GetToggleInteractable() { return(RootTree.GetComponentsInChildren <Interactable>(true).Where(x => x.ButtonMode == SelectionModes.Toggle).ToArray()); }