EventReference


Declaration

[Serializable]
public sealed class EventReference

Description

A reference to a UnityEvent or a GameEvent.

Properties

useUnityEventUses a UnityEvent instead of a GameEvent.
unityEventThe UnityEvent to use.
gameEventThe GameEvent to use.

Constructors

EventReferenceCreates a new event reference.

Methods

InvokeInvokes or raises the event depending on the type.