Bearbeiten

Freigeben über


InteractableToggleCollection Class

Definition

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.MonoBehaviour
InteractableToggleCollection
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.

Applies to