InteractableToggleCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A way to control a list of radial type buttons or tabs
public ref class InteractableToggleCollection : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InteractableToggleCollection")]
public class InteractableToggleCollection : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/InteractableToggleCollection")>]
type InteractableToggleCollection = class
inherit MonoBehaviour
Public Class InteractableToggleCollection
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourInteractableToggleCollection
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
InteractableToggleCollection() |
Fields
OnSelectionEvents |
Properties
CurrentIndex |
The current index in the array of interactable toggles |
ToggleList |
Array of Interactables that will be managed by this controller |
Methods
OnSelection(Int32, Boolean) | |
SetSelection(Int32, Boolean, Boolean) |
Set the selection of a an element in the toggle collection based on index. |