MainLoop is the heart of FYFY, it manages FYFY.FSystem execution and keeps FYFY.Family synchronized.
More...
|
|
bool | synchronizeWrappers () |
| | Synchronize systems' wrappers.
|
| |
|
|
static void | callAppropriateSystemMethod (FSystem system, string functionName, object parameter) |
| | Call function "functionName" defined inside "system" system with "parameter" parameter.
|
| |
|
static void | initAppropriateSystemField (FSystem system, string fieldName, object parameter) |
| | Set field "fieldName" defined inside "system" system with "parameter" parameter.
|
| |
|
|
SystemDescription[] | _fixedUpdateSystemDescriptions |
| | List of systems defined in fixedUpdate context through the Inspector.
|
| |
|
SystemDescription[] | _updateSystemDescriptions |
| | List of systems defined in Update context through the Inspector.
|
| |
|
SystemDescription[] | _lateUpdateSystemDescriptions |
| | List of systems defined in lateUpdate context through the Inspector.
|
| |
|
int | _forceUpdateInspector |
| | Used in FSystem to force Inspector redraw when pause is update by code.
|
| |
|
int | _loadingState = 0 |
| | Define how game objects are binded on start 0 means bind all game objects on start but exclude game objects defined into _specialGameObjects 1 means bind only game objects defined into _specialGameObjects.
|
| |
|
List< GameObject > | _specialGameObjects |
| |
|
bool | showSystemProfiler = true |
| | Show system profiler.
|
| |
|
bool | showFamilyInspector = false |
| | Show families used in systems.
|
| |
|
bool | showFamilyInspectorFixedUpdate = false |
| | Show families used in fixed update systems.
|
| |
|
bool | showFamilyInspectorUpdate = false |
| | Show families used in update systems.
|
| |
|
bool | showFamilyInspectorLateUpdate = false |
| | Show families used in late update systems.
|
| |
|
float | fixedUpdateStats = 0 |
| | How much time (ms) the previous fixed update execution lasted.
|
| |
|
float | updateStats = 0 |
| | How much time (ms) the previous update execution lasted.
|
| |
|
float | lateUpdateStats = 0 |
| | How much time (ms) the previous late update execution lasted.
|
| |
|
string | _outputWrappers = "Assets/AutomaticScript" |
| | Directory to store wrapper to system's public functions.
|
| |
|
|
int | familiesUpdateCount [get] |
| | The total families update since the start of the game (Read Only). This value starts at 0 and increases by 1 on each Fyfy update phase.
|
| |
MainLoop is the heart of FYFY, it manages FYFY.FSystem execution and keeps FYFY.Family synchronized.
In Unity Inspector it enables:
-
to set systems into the three contexts (fixedUpdate, update and lateUpdate)
-
to define which game object binding on start
-
to follow systems load and families content during playing mode
The documentation for this class was generated from the following file:
- FYFY/src/MainLoop/MainLoop.cs