Edit

Share via


InteractableEvent Class

Definition

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.

Applies to