An asset containing a table of localized text. More...
Classes | |
class | LocalizedTextField |
Public Member Functions | |
bool | ContainsField (string fieldName) |
Determines whether the table contains a field. More... | |
Public Attributes | |
List< string > | languages = new List<string>() |
The languages in the table. More... | |
List< LocalizedTextField > | fields = new List<LocalizedTextField>() |
The fields that have localized text. More... | |
Properties | |
string | this[string fieldName] [get] |
Gets the localized text for a field using the current language. More... | |
An asset containing a table of localized text.
You can create a localized text table asset using the Assets > Create > Dialogue System menu or by right-clicking in the Project view.
bool PixelCrushers.DialogueSystem.LocalizedTextTable.ContainsField | ( | string | fieldName | ) |
Determines whether the table contains a field.
true
, if the field is in the table, false
otherwise.fieldName | Field name. |
List<LocalizedTextField> PixelCrushers.DialogueSystem.LocalizedTextTable.fields = new List<LocalizedTextField>() |
The fields that have localized text.
List<string> PixelCrushers.DialogueSystem.LocalizedTextTable.languages = new List<string>() |
The languages in the table.
|
get |
Gets the localized text for a field using the current language.
fieldName | Field name. |