Base class every FYFY system derives from.
More...
|
|
double | avgExecDuration = 0 |
| | Gets the average execution time taken by onProcess.
|
| |
|
double | maxExecDuration = 0 |
| | Gets the maximum execution time taken by onProcess.
|
| |
|
bool | showFamilies = false |
| | Show families used in this system inside Unity Inspector.
|
| |
|
| virtual void | onStart () |
| | Function called when this FYFY.FSystem started. All families are populated and can be parsed.
|
| |
| virtual void | onPause (int currentFrame) |
| | Function called when this FYFY.FSystem paused.
|
| |
| virtual void | onResume (int currentFrame) |
| | Function called when this FYFY.FSystem resumed.
|
| |
| virtual void | onProcess (int familiesUpdateCount) |
| | Function called each time when FYFY enter in the update block where this FYFY.FSystem is.
|
| |
|
|
bool | Pause [get, set] |
| | Gets or sets a value indicating whether this FYFY.FSystem is paused.
|
| |
Base class every FYFY system derives from.
FYFY systems have to be setted in the Unity Editor in a MainLoop's block of update.
◆ onPause()
| virtual void FYFY.FSystem.onPause |
( |
int | currentFrame | ) |
|
|
protectedvirtual |
Function called when this FYFY.FSystem paused.
- Parameters
-
| currentFrame | The Unity frame number when this function is called. |
◆ onProcess()
| virtual void FYFY.FSystem.onProcess |
( |
int | familiesUpdateCount | ) |
|
|
protectedvirtual |
◆ onResume()
| virtual void FYFY.FSystem.onResume |
( |
int | currentFrame | ) |
|
|
protectedvirtual |
Function called when this FYFY.FSystem resumed.
- Parameters
-
| currentFrame | The Unity frame number when this function is called. |
◆ onStart()
| virtual void FYFY.FSystem.onStart |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- FYFY/src/FSystem/FSystem.cs