Show / Hide Table of Contents

    Class InteractableToggleCollection

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

    Inheritance
    Object
    InteractableToggleCollection
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableToggleCollection : MonoBehaviour

    Fields

    CurrentIndex

    Declaration
    public int CurrentIndex
    Field Value
    Type Description
    Int32

    OnSelectionEvents

    Declaration
    public UnityEvent OnSelectionEvents
    Field Value
    Type Description
    UnityEvent

    ToggleList

    Declaration
    public Interactable[] ToggleList
    Field Value
    Type Description
    Interactable[]

    Methods

    OnSelection(Int32, Boolean)

    Set the toggle state of each button based on the selected item

    Declaration
    protected virtual void OnSelection(int index, bool force = false)
    Parameters
    Type Name Description
    Int32 index
    Boolean force

    SetSelection(Int32)

    Sets the selected index and selected Interactive

    Declaration
    public void SetSelection(int index)
    Parameters
    Type Name Description
    Int32 index
    Back to top Generated by DocFX