Singleton that bind variables to the game parameters from GameParameters.cs It will update the state of the variables each time the game parameter bind to them changes.
More...
Inherits MonoBehaviour.
|
| void | UpdateRoutine (Subject subject) |
| | This method will update all the variables binded to the Game Parameter "subject".
|
| |
| void | Register (string Key, egVar var) |
| | Register a variable to the variableHandler and keep it updated as the parameters changes.
|
| |
Singleton that bind variables to the game parameters from GameParameters.cs It will update the state of the variables each time the game parameter bind to them changes.
◆ Register()
| void Enablegames.VariableHandler.Register |
( |
string | Key, |
|
|
egVar | var ) |
|
inline |
Register a variable to the variableHandler and keep it updated as the parameters changes.
- Parameters
-
| Key | the key represent the aslias of the parameters. Use the static class egParameterStrings to have access to the avaiable keys |
| var | |
◆ UpdateRoutine()
| void Enablegames.VariableHandler.UpdateRoutine |
( |
Subject | subject | ) |
|
|
inline |
This method will update all the variables binded to the Game Parameter "subject".
- Parameters
-
| subject | Game Parameters inherit Subject class |
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Parameters/AutomatedVariableUpdater/VariableHandler.cs