Class InteractableEvent
Event base class for events attached to Interactables.
Inheritance
InteractableEvent
Assembly: cs.temp.dll.dll
[Serializable]
[Serializable]
public class InteractableEvent
Fields
Base Event used to initialize EventReceiver class
Declaration
Field Value
Type |
Description |
UnityEvent |
|
Base Event used to initialize EventReceiver class
Declaration
Field Value
Type |
Description |
UnityEvent |
|
ReceiverBase instantiation for this InteractableEvent. Used at runtime by Interactable class
Declaration
public ReceiverBase Receiver
Field Value
ReceiverBase instantiation for this InteractableEvent. Used at runtime by Interactable class
Declaration
public ReceiverBase Receiver
Field Value
Properties
Defines the type of Receiver to associate. Type must be a class that extends ReceiverBase
Declaration
public Type ReceiverType { get; set; }
Property Value
Defines the type of Receiver to associate. Type must be a class that extends ReceiverBase
Declaration
public Type ReceiverType { get; set; }
Property Value
Methods
Create the event and setup the values from the inspector. If the asset is invalid,
returns null.
Declaration
public static ReceiverBase CreateReceiver(InteractableEvent iEvent)
Parameters
Returns
Create the event and setup the values from the inspector. If the asset is invalid,
returns null.
Declaration
public static ReceiverBase CreateReceiver(InteractableEvent iEvent)
Parameters
Returns