Class GameSimEditorUtilities
Namespace: Unity.Simulation.Games.Editor
Syntax
public static class GameSimEditorUtilities
Methods
Init()
Requests parameter type information from remote config and stores it
Declaration
public static void Init()
IsInitialized()
Returns true when the Init method's request has successfully executed
Declaration
public static bool IsInitialized()
Returns
| Type | Description |
|---|---|
| Boolean |
TypeFor(String)
Returns the type for a given parameter based on the key.
Declaration
public static Type TypeFor(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | The name of the parameter. |
Returns
| Type | Description |
|---|---|
| Type | Type of parameter. Valid types are: string, bool, float, int, long, string. Parameters with the json type return string. |
Exceptions
| Type | Condition |
|---|---|
| Exception |