|
| | EventData (string eventName) |
| | The constructor used to create a new EventData More...
|
| |
| void | Add (EventData< T >.OnEvent evt) |
| | Add a method to be run when the EventData is fired. More...
|
| |
| void | Fire (T data) |
| | Triggers the EventData More...
|
| |
| void | Remove (EventData< T >.OnEvent evt) |
| | Remove a method from the list of methods to be run when the EventData is fired. More...
|
| |
| delegate void | OnEvent (T data) |
| | Any methods added to the event must match the delegate's parameters; one parameter of the given type in this case. More...
|
| |
| | EventData (string eventName) |
| | The constructor used to create a new EventData More...
|
| |
| void | Add (EventData< T, U >.OnEvent evt) |
| | Add a method to be run when the EventData is fired. More...
|
| |
| void | Fire (T data0, U data1) |
| | Triggers the EventData More...
|
| |
| void | Remove (EventData< T, U >.OnEvent evt) |
| | Remove a method from the list of methods to be run when the EventData is fired. More...
|
| |
| delegate void | OnEvent (T data0, U data1) |
| | Any methods added to the event must match the delegate's parameters; two parameters of the given types in this case. More...
|
| |
| | EventData (string eventName) |
| | The constructor used to create a new EventData More...
|
| |
| void | Add (EventData< T, U, V >.OnEvent evt) |
| | Add a method to be run when the EventData is fired. More...
|
| |
| void | Fire (T data0, U data1, V data2) |
| | Triggers the EventData More...
|
| |
| void | Remove (EventData< T, U, V >.OnEvent evt) |
| | Remove a method from the list of methods to be run when the EventData is fired. More...
|
| |
| delegate void | OnEvent (T data0, U data1, V data2) |
| | Any methods added to the event must match the delegate's parameters; three parameters of the given types in this case. More...
|
| |
|
| static bool | AddEventScene (string eventName, EventData< T >.OnEvent evt, bool addToAll) |
| |
| static bool | AddEventUpwards (Transform transform, string eventName, EventData< T >.OnEvent evt, bool addToAll) |
| |
| static EventData< T > | FindEventScene (string eventName) |
| |
| static List< EventData< T > > | FindEventsScene (string eventName) |
| |
| static List< EventData< T > > | FindEventsUpwards (Transform transform, string eventName) |
| |
| static EventData< T > | FindEventUpwards (Transform transform, string eventName) |
| |
| static bool | RemoveEventScene (string eventName, EventData< T >.OnEvent evt, bool removeFromAll) |
| |
| static bool | RemoveEventUpwards (Transform transform, string eventName, EventData< T >.OnEvent evt, bool removeFromAll) |
| |
| static bool | AddEventScene (string eventName, EventData< T, U >.OnEvent evt, bool addToAll) |
| |
| static bool | AddEventUpwards (Transform transform, string eventName, EventData< T, U >.OnEvent evt, bool addToAll) |
| |
| static EventData< T, U > | FindEventScene (string eventName) |
| |
| static List< EventData< T, U > > | FindEventsScene (string eventName) |
| |
| static List< EventData< T, U > > | FindEventsUpwards (Transform transform, string eventName) |
| |
| static EventData< T, U > | FindEventUpwards (Transform transform, string eventName) |
| |
| static bool | RemoveEventScene (string eventName, EventData< T, U >.OnEvent evt, bool removeFromAll) |
| |
| static bool | RemoveEventUpwards (Transform transform, string eventName, EventData< T, U >.OnEvent evt, bool removeFromAll) |
| |
| static bool | AddEventScene (string eventName, EventData< T, U, V >.OnEvent evt, bool addToAll) |
| |
| static bool | AddEventUpwards (Transform transform, string eventName, EventData< T, U, V >.OnEvent evt, bool addToAll) |
| |
| static EventData< T, U, V > | FindEventScene (string eventName) |
| |
| static List< EventData< T, U, V > > | FindEventsScene (string eventName) |
| |
| static List< EventData< T, U, V > > | FindEventsUpwards (Transform transform, string eventName) |
| |
| static EventData< T, U, V > | FindEventUpwards (Transform transform, string eventName) |
| |
| static bool | RemoveEventScene (string eventName, EventData< T, U, V >.OnEvent evt, bool removeFromAll) |
| |
| static bool | RemoveEventUpwards (Transform transform, string eventName, EventData< T, U, V >.OnEvent evt, bool removeFromAll) |
| |
A type used to generate GameEvents
Use this type with three accompanying parameters
- Template Parameters
-
| T | The first type to be passed through on EventData.Fire() |
| U | The second type to be passed through on EventData.Fire() |
| V | The third type to be passed through on EventData.Fire() |