Edit

Share via


InteractiveElementRuntimeExample Class

Definition

Contains examples on how to add states with event listeners to an Interactive Element.

public ref class InteractiveElementRuntimeExample : UnityEngine::MonoBehaviour
public class InteractiveElementRuntimeExample : UnityEngine.MonoBehaviour
type InteractiveElementRuntimeExample = class
    inherit MonoBehaviour
Public Class InteractiveElementRuntimeExample
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
InteractiveElementRuntimeExample

Constructors

InteractiveElementRuntimeExample()

Methods

AddClickedState()

Add Clicked state with event listeners.

AddDefaultStateListeners()

Add Default state event listeners. The Default state is present by default and does not need to be added.

AddFocusFarState()

Add FocusFar state with event listeners.

AddFocusNearState()

Add FocusNear state with event listeners.

AddSelectFarState()

Add SelectFar state with event listeners.

AddSpeechKeywordState()

Add the SpeechKeyword state with event listeners.

AddStateActivatedListeners()

Add State Activated and State Deactivated event listeners.

AddToggleStates()

Add the Toggle states with event listeners.

AddTouchState()

Add Touch state with event listeners.

CreateNewState()

Create a state with a new name. This state will be initialized with the StateEvents event configuration that contains the OnStateOn and OnStateOff events.

Applies to