Edit

Share via


ReceiverBase Class

Definition

The base class for all receivers that attach to Interactables

public ref class ReceiverBase abstract
public abstract class ReceiverBase
type ReceiverBase = class
Public MustInherit Class ReceiverBase
Inheritance
ReceiverBase
Derived

Constructors

ReceiverBase(UnityEvent, String)

Constructs an interaction receiver that will raise unity event when triggered.

Fields

uEvent

Properties

Event

Each Receiver has a base Event it raises, (in addition to others).

HideUnityEvents

Defines whether Unity Events should be hidden in inspector for this type of EventReceiver

Host

Targeted component for Event Receiver at runtime

Name

Name of Event Receiver

Methods

OnClick(InteractableStates, Interactable, IMixedRealityPointer)

A click event happened

OnUpdate(InteractableStates, Interactable)

The state has changed

OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32)

A voice command was called

Applies to