InteractableToggleCollection Class

Definition

A way to control a list of radial type buttons or tabs

C++
public ref class InteractableToggleCollection : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
InteractableToggleCollection
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Fields

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.

Applies to

Produkt Wersje
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0