InteractableEvent Class
Definition
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
Constructors
InteractableEvent() |
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. |