Class ReceiverBase
The base class for all receivers that attach to Interactables
Assembly: cs.temp.dll.dll
public abstract class ReceiverBase
Constructors
Declaration
public ReceiverBase(UnityEvent ev)
Parameters
Type |
Name |
Description |
UnityEvent |
ev |
|
Fields
Declaration
public bool HideUnityEvents
Field Value
Declaration
public MonoBehaviour Host
Field Value
Type |
Description |
MonoBehaviour |
|
Declaration
Field Value
Declaration
protected UnityEvent uEvent
Field Value
Type |
Description |
UnityEvent |
|
Methods
Declaration
public virtual void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
Parameters
Declaration
public abstract void OnUpdate(InteractableStates state, Interactable source)
Parameters
A voice command was called
Declaration
public virtual void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1)
Parameters