EventReference Constructor

Constructor in EventReference

Declaration

public EventReference()

Description

Creates a new event reference.


Overload

Declaration

public EventReference(UnityEvent unityEvent)

Description

Creates a new event reference to the UnityEvent.

Parameters

unityEventThe UnityEvent to use.

Overload

Declaration

public EventReference(GameEvent gameEvent)

Description

Creates a new event reference to the GameEvent.

Parameters

gameEventThe GameEvent to use.