This is the listener class for GameEvents. This class binds the Event with the callbacks (here called response) together.
More...
This is the listener class for GameEvents. This class binds the Event with the callbacks (here called response) together.
Definition at line 10 of file GameEventListener.cs.
◆ GameEventListener() [1/2]
HKI.Core.GameEvents.GameEventListener.GameEventListener |
( |
| ) |
|
|
inline |
◆ GameEventListener() [2/2]
HKI.Core.GameEvents.GameEventListener.GameEventListener |
( |
GameEvent |
gameEvent | ) |
|
|
inline |
◆ Disable()
void HKI.Core.GameEvents.GameEventListener.Disable |
( |
| ) |
|
|
inline |
This function disables the listern. This means it unregisters itself from the GameEvent and will not be informed if the Event is raised.
Definition at line 57 of file GameEventListener.cs.
◆ Enable()
void HKI.Core.GameEvents.GameEventListener.Enable |
( |
| ) |
|
|
inline |
This function enables the listern. This means it registers itself with the GameEvent to be informed if the Event is raised.
Definition at line 46 of file GameEventListener.cs.
◆ OnEventRaised()
void HKI.Core.GameEvents.GameEventListener.OnEventRaised |
( |
| ) |
|
|
inline |
This function should only be called by the GameEvent class. It invokes the callback functions of this listener.
Definition at line 38 of file GameEventListener.cs.
◆ Event
GameEvent HKI.Core.GameEvents.GameEventListener.Event = null |
|
private |
◆ Response
UnityEvent HKI.Core.GameEvents.GameEventListener.Response = new UnityEvent() |
The documentation for this class was generated from the following file: