ReceiverBase Class

Definition

The base class for all receivers that attach to Interactables

C++
public ref class ReceiverBase abstract
Inheritance
ReceiverBase
Derived

Constructors

ReceiverBase(UnityEvent, String)

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

Fields

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

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0