Handles accessing and managing game parameters.
More...
Inherits MonoBehaviour.
|
| void | ForceUpdate (GameParameter parameter) |
| | Forces an update for a specific GameParameter across all GameParameters instances.
|
| |
|
void | ResetParameters () |
| | Resets all parameters to their default values.
|
| |
| void | AddParameters (string name) |
| | ///add a new group of parameters with name (such as Warmup, Condition, Cooldown)
|
| |
| GameParameters | GetParameters (string name) |
| | get a group of parameters grouped under name (such as Warmup, Condition, Cooldown)
|
| |
Handles accessing and managing game parameters.
◆ AddParameters()
| void Enablegames.ParameterHandler.AddParameters |
( |
string | name | ) |
|
|
inline |
///add a new group of parameters with name (such as Warmup, Condition, Cooldown)
- Parameters
-
◆ ForceUpdate()
| void Enablegames.ParameterHandler.ForceUpdate |
( |
GameParameter | parameter | ) |
|
|
inline |
Forces an update for a specific GameParameter across all GameParameters instances.
- Parameters
-
| parameter | The GameParameter to be updated. |
◆ GetParameters()
| GameParameters Enablegames.ParameterHandler.GetParameters |
( |
string | name | ) |
|
|
inline |
get a group of parameters grouped under name (such as Warmup, Condition, Cooldown)
- Parameters
-
- Returns
◆ AllDefaultParameters
| List<GameParameter> Enablegames.ParameterHandler.AllDefaultParameters |
|
get |
This property allows accessing all the default game parameters.
- Returns
- A list of GameParameter objects representing all the default game parameters.
◆ AllParameters
This property allows accessing all the game parameters.
- Returns
- A list of GameParameters objects representing all the game parameters.
◆ Parameters
| Dictionary<string, GameParameters> Enablegames.ParameterHandler.Parameters |
|
get |
Represents a dictionary of game parameters.
- Returns
- A dictionary of string keys and GameParameters values representing the game parameters.
This property is used to access and manage game parameters.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Parameters/ParamCreator/ParameterHandler.cs