Collection of delegate definitions that are used throughout the code base.
More...
|
delegate bool | AutoStateAction (float timeSinceStateActive) |
|
delegate void | FixedUpdateAction () |
| Function called during the FixedUpdate tick. More...
|
|
delegate void | UpdateAction () |
| Function called during the Update tick. More...
|
|
delegate void | FileRetrieved (string fileName, string content) |
| Function used when reading files from the StreamingAssets directory to notify the requesting function a file as been retrieved. More...
|
|
Collection of delegate definitions that are used throughout the code base.
◆ AutoDoNothing()
static bool CommonDelegates.AutoDoNothing |
( |
float |
timeSinceStateActive | ) |
|
|
static |
◆ AutoStateAction()
delegate bool CommonDelegates.AutoStateAction |
( |
float |
timeSinceStateActive | ) |
|
- Parameters
-
timeSinceStateActive | The amount of time that has passed that the state has been active. |
- Returns
- True if the state can be transitioned to the next state. Return false if the state should not be transitioned yet.
◆ DoNothing()
static void CommonDelegates.DoNothing |
( |
| ) |
|
|
static |
◆ FileRetrieved()
delegate void CommonDelegates.FileRetrieved |
( |
string |
fileName, |
|
|
string |
content |
|
) |
| |
Function used when reading files from the StreamingAssets directory to notify the requesting function a file as been retrieved.
- Parameters
-
fileName | The name of the file that was retrieved. |
content | Everything in the file. |
◆ FixedUpdateAction()
delegate void CommonDelegates.FixedUpdateAction |
( |
| ) |
|
Function called during the FixedUpdate tick.
◆ UpdateAction()
delegate void CommonDelegates.UpdateAction |
( |
| ) |
|
Function called during the Update tick.
The documentation for this class was generated from the following file: