Lire en anglais Modifier

Partager via


CustomInteractablesReceiver Class

Definition

Example of building a custom receiver that can be loaded as part of the events on the Interactable or in InteractableReceiverList or InteractableReceiver

Extend ReceiverBaseMonoBehavior to build external event components

C++
public ref class CustomInteractablesReceiver : Microsoft::MixedReality::Toolkit::UI::ReceiverBase
Inheritance
CustomInteractablesReceiver
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Fields

uEvent (Inherited from ReceiverBase)

Properties

Event

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

(Inherited from ReceiverBase)
HideUnityEvents

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

Host

Targeted component for Event Receiver at runtime

(Inherited from ReceiverBase)
Name

Name of Event Receiver

(Inherited from ReceiverBase)

Methods

Applies to

Produit 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