Learn / Documentation / Script Reference / GameEventListener

GameEventListener

class in Doozy.Engine / Inherits from MonoBehaviour

Description

The GameEventListener implements a microphone-like device, that interprets game events. When triggered it executes a set of callbacks.
See Also: StringEvent

Public Variables

  • public bool DebugMode – Enables relevant debug messages to be printed to the console

  • public StringEvent EventUnityEvent invoked when this listener has been triggered

  • public string GameEvent – Game event string value that will trigger this listener’s callback

  • public bool ListenForAllGameEvents – Enables the execution of the Event callback every time a game event is received