InteractableEvent 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.
Event base class for events attached to Interactables.
public ref class InteractableEvent
[System.Serializable]
public class InteractableEvent
[<System.Serializable>]
type InteractableEvent = class
Public Class InteractableEvent
- Inheritance
-
InteractableEvent
- Attributes
Event |
Base Event used to initialize EventReceiver class |
Receiver |
ReceiverBase instantiation for this InteractableEvent. Used at runtime by Interactable class |
Receiver |
Defines the type of Receiver to associate. Type must be a class that extends ReceiverBase |
Create |
Create the event and setup the values from the inspector. If the asset is invalid, returns null. |
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 |