UnityEvent<T> constructor

UnityEvent<T>(
  1. int unityId,
  2. T value
)

Build a Unity Event, that relates a mapId with a given value.

The unityId is the id of the map that triggered the event. value may be null in events that don't transport any meaningful data.

Implementation

UnityEvent(this.unityId, this.value);