
Public Member Functions | |
| bool | HasEvent (string eventName) |
| void | SubscribeToEvent (string eventName, UnityAction unityAction) |
| void | SubscribeToEvent< T > (string eventName, UnityAction< T > unityAction) |
| void | SubscribeToEvent< T1, T2 > (string eventName, UnityAction< T1, T2 > unityAction) |
| void | SubscribeToEvent< T1, T2, T3 > (string eventName, UnityAction< T1, T2, T3 > unityAction) |
| void | SubscribeToEvent< T1, T2, T3, T4 > (string eventName, UnityAction< T1, T2, T3, T4 > unityAction) |
| void | UnsubscribeFromEvent (string eventName, UnityAction unityAction) |
| void | UnsubscribeFromEvent< T > (string eventName, UnityAction< T > unityAction) |
| void | UnsubscribeFromEvent< T1, T2 > (string eventName, UnityAction< T1, T2 > unityAction) |
| void | UnsubscribeFromEvent< T1, T2, T3 > (string eventName, UnityAction< T1, T2, T3 > unityAction) |
| void | UnsubscribeFromEvent< T1, T2, T3, T4 > (string eventName, UnityAction< T1, T2, T3, T4 > unityAction) |
| void | TriggerEvent (string eventName) |
| void | TriggerEvent< T > (string eventName, T parameter) |
| void | TriggerEvent< T1, T2 > (string eventName, T1 parameter1, T2 parameter2) |
| void | TriggerEvent< T1, T2, T3 > (string eventName, T1 parameter1, T2 parameter2, T3 parameter3) |
| void | TriggerEvent< T1, T2, T3, T4 > (string eventName, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4) |
Static Public Member Functions | |
| static GameEventSystem | GetInstance () |
Public Attributes | |
| bool | enableDebug = false |
Private Member Functions | |
| GameEventSystem () | |
| void | WriteToConsole (string str) |
| UnityEventBase | GetEvent (string eventName) |
| void | AddEvent (string eventName) |
| void | AddEvent< T > (string eventName) |
| void | AddEvent< T1, T2 > (string eventName) |
| void | AddEvent< T1, T2, T3 > (string eventName) |
| void | AddEvent< T1, T2, T3, T4 > (string eventName) |
Private Attributes | |
| Dictionary< string, UnityEventBase > | events = new Dictionary<string, UnityEventBase>() |
Static Private Attributes | |
| static GameEventSystem | instance = null |
Definition at line 8 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 19 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 43 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 50 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 57 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 64 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 71 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 34 of file GameEventSystem.cs.
|
inlinestatic |
Definition at line 22 of file GameEventSystem.cs.
|
inline |
Definition at line 79 of file GameEventSystem.cs.
|
inline |
Definition at line 83 of file GameEventSystem.cs.
|
inline |
Definition at line 96 of file GameEventSystem.cs.
|
inline |
Definition at line 109 of file GameEventSystem.cs.
|
inline |
Definition at line 122 of file GameEventSystem.cs.
|
inline |
Definition at line 135 of file GameEventSystem.cs.
|
inline |
Definition at line 198 of file GameEventSystem.cs.
|
inline |
Definition at line 213 of file GameEventSystem.cs.
|
inline |
Definition at line 228 of file GameEventSystem.cs.
|
inline |
Definition at line 243 of file GameEventSystem.cs.
|
inline |
Definition at line 258 of file GameEventSystem.cs.
|
inline |
Definition at line 148 of file GameEventSystem.cs.
|
inline |
Definition at line 158 of file GameEventSystem.cs.
|
inline |
Definition at line 168 of file GameEventSystem.cs.
|
inline |
Definition at line 178 of file GameEventSystem.cs.
|
inline |
Definition at line 188 of file GameEventSystem.cs.
|
inlineprivate |
Definition at line 30 of file GameEventSystem.cs.
| bool GameEvent.GameEventSystem.enableDebug = false |
Definition at line 16 of file GameEventSystem.cs.
|
private |
Definition at line 13 of file GameEventSystem.cs.
|
staticprivate |
Definition at line 10 of file GameEventSystem.cs.