GameEvent


Declaration

public class GameEvent : ScriptableObject

Description

A custom game event that can be saved as a project asset and referenced throughout the application.

Methods

RaiseRaises the game event and invokes all of the registered listeners.
RegisterListenerAdds the event listener to the list of listeners that are invoked when the event is raised.
UnregisterListenerRemoves the event listener from the list of listeners that are invoked when the event is raised.