GameEvent

class GameEvent : GameEventBase

A ScriptableObject representing a global event.

Properties

onRaise : SodaEvent

This event is invoked when the GameEvent is raised. For parameterized GameEvents, use this event to register responses that ignore the parameter.

Methods

void Raise()

Call this method to raise the event, leading to all added responses being invoked.