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
-
objectGameEventListener
Methods
OnEventRaised()
Called by the GameEvent when it is raised. Invokes the configured UnityEvent response.
public void OnEventRaised()