Lire en anglais Modifier

Partager via


InteractableEvent Class

Definition

Event base class for events attached to Interactables.

C++
public ref class InteractableEvent
Inheritance
InteractableEvent
Attributes

Constructors

Fields

Event

Base Event used to initialize EventReceiver class

Receiver

ReceiverBase instantiation for this InteractableEvent. Used at runtime by Interactable class

Properties

ReceiverType

Defines the type of Receiver to associate. Type must be a class that extends ReceiverBase

Methods

CreateReceiver(InteractableEvent)

Create the event and setup the values from the inspector. If the asset is invalid, returns null.

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