Contains the parameters used by the game at runtime.
More...
Inherits EnableSerializableValue.
|
|
GameParameter | AddParameter (GameParameter param) |
| | Adds a new parameter.
|
| |
|
GameParameter | GetParameter (string name) |
| | Returns a refrence to the value referred to by the given key, throws an error if the key is not found.
|
| |
|
| GameParameters () |
| | set "parameters" to a new, empty Dictionary object
|
| |
| string | Serialize () |
| | Serializes the current instance of GameParameters into a JSON string representation.
|
| |
| object | Deserialize (string json) |
| | Deserializes the specified JSON string into an object of type GameParameters.
|
| |
|
|
List< GameParameter > | ParameterList [get] |
| | Returns a COPY of the parameters as a List.
|
| |
Contains the parameters used by the game at runtime.
◆ Deserialize()
| object Enablegames.GameParameters.Deserialize |
( |
string | json | ) |
|
|
inline |
Deserializes the specified JSON string into an object of type GameParameters.
- Parameters
-
| json | The JSON string to deserialize. |
- Returns
- An object of type GameParameters.
◆ Serialize()
| string Enablegames.GameParameters.Serialize |
( |
| ) |
|
|
inline |
Serializes the current instance of GameParameters into a JSON string representation.
- Returns
- A JSON string representation of the current GameParameters instance.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Parameters/ParamCreator/GameParameters.cs