Table of Contents

Class GameEventListener

Namespace
ElectricDrill.SoapRpgFramework.Events
Assembly
com.electricdrill.soap-rpg-framework.Runtime.dll

MonoBehaviour component that listens to GameEvent objects and responds with UnityEvents. Automatically registers and unregisters itself when enabled/disabled.

public class GameEventListener : MonoBehaviour
Inheritance
object
GameEventListener

Methods

OnEventRaised()

Called by the GameEvent when it is raised. Invokes the configured UnityEvent response.

public void OnEventRaised()