EventReference
Class in Zigurous.Architecture
Declaration
[Serializable]
public sealed class EventReference
Description
A reference to a UnityEvent or a GameEvent.
Properties
useUnityEvent | Uses a UnityEvent instead of a GameEvent. |
unityEvent | The UnityEvent to use. |
gameEvent | The GameEvent to use. |
Constructors
EventReference | Creates a new event reference. |
Methods
Invoke | Invokes or raises the event depending on the type. |