BGC Tools
|
Static Public Member Functions | |
static List< T > | ToList< T > (bool ignoreMax=true) |
Convert enumerations to a list, optionally excluding any named "max" in lower case More... | |
static IEnumerable< T > | ToEnumerable< T > (bool ignoreMax=true) |
Coroutine to return enum types More... | |
static JsonObject | ToJsonObject< T > (string prependString="", bool ignoreMax=true) |
Convert Enum to JsonObject. More... | |
Definition at line 8 of file EnumUtility.cs.
|
inlinestatic |
Coroutine to return enum types
Definition at line 27 of file EnumUtility.cs.
|
inlinestatic |
Convert Enum to JsonObject.
prependString | Set this if you want there be a value before every key |
ignoreMax | Set this to true to not add any key that is max |
Definition at line 41 of file EnumUtility.cs.
References LightJson.JsonObject.Add(), and LightJson.Array.
|
inlinestatic |
Convert enumerations to a list, optionally excluding any named "max" in lower case
Definition at line 11 of file EnumUtility.cs.