Word Game Builder 2.0.1f2
Reference Manual
|
Various resources for modifying languages through editor scripts. More...
Static Public Member Functions | |
static string | LangToIdentifier (string languageName) |
Convert a language name into an identifier, by removing all diacritical marks. Also ensures that the name is unique. More... | |
static void | SaveLanguage (WordGameLanguage language) |
Saves a language as an asset. More... | |
Properties | |
static string | languagePath [get, set] |
The path for Word Game Builder languages. More... | |
Various resources for modifying languages through editor scripts.
|
inlinestatic |
Convert a language name into an identifier, by removing all diacritical marks. Also ensures that the name is unique.
languageName | The language name to convert into an identifier. |
|
inlinestatic |
Saves a language as an asset.
language | The language to save. |
|
staticgetset |
The path for Word Game Builder languages.
This value is persistent (stored in editor preferences). In order to ensure that this value does not change when switching machines or clearing editor preferences, it is recommended to create a static editor class that sets this value with the [InitializeOnLoad] attribute.
Example: