GameEventListener
Class in Zigurous.Architecture
Declaration
public class GameEventListener : MonoBehaviourDescription
Listens for a custom game event to be raised and invokes a Unity event in response.
Properties
| Event | The game event to listen to. |
| Response | The Unity event invoked in response to the event being raised. |
Methods
| OnEnable | A Unity lifecycle method called when the behavior is enabled. |
| OnDisable | A Unity lifecycle method called when the behavior is disabled. |
| OnEventRaised | A callback invoked when the event is raised. |