Class InteractableOnToggleReceiver
An event receiver that listens to toggle events
Inheritance
InteractableOnToggleReceiver
Assembly: cs.temp.dll.dll
public class InteractableOnToggleReceiver : ReceiverBase
Constructors
Creates a receiver that raises events for toggle button states
Declaration
public InteractableOnToggleReceiver()
Creates a receiver that raises events for toggle button states
Declaration
public InteractableOnToggleReceiver()
Creates a receiver that raises events for toggle button states
Declaration
public InteractableOnToggleReceiver(UnityEvent ev)
Parameters
Type |
Name |
Description |
UnityEvent |
ev |
|
Creates a receiver that raises events for toggle button states
Declaration
public InteractableOnToggleReceiver(UnityEvent ev)
Parameters
Type |
Name |
Description |
UnityEvent |
ev |
|
Fields
Invoked when toggle is deselected
Declaration
public UnityEvent OnDeselect
Field Value
Type |
Description |
UnityEvent |
|
Invoked when toggle is deselected
Declaration
public UnityEvent OnDeselect
Field Value
Type |
Description |
UnityEvent |
|
Properties
Invoked when toggle is checked
Declaration
public UnityEvent OnSelect { get; }
Property Value
Type |
Description |
UnityEvent |
|
Invoked when toggle is checked
Declaration
public UnityEvent OnSelect { get; }
Property Value
Type |
Description |
UnityEvent |
|
Methods
Declaration
public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
Overrides
Declaration
public override void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
Overrides
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Overrides
Declaration
public override void OnUpdate(InteractableStates state, Interactable source)
Parameters
Overrides