ReceiverBase Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Receiver |
Constructs an interaction receiver that will raise unity event when triggered. |
Event |
Each Receiver has a base Event it raises, (in addition to others). |
Hide |
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 |
On |
A click event happened |
On |
The state has changed |
On |
A voice command was called |
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 |