PixelCrushers.DialogueSystem.LocalizedTextTable Class Reference

An asset containing a table of localized text. More...

Inheritance diagram for PixelCrushers.DialogueSystem.LocalizedTextTable:
Collaboration diagram for PixelCrushers.DialogueSystem.LocalizedTextTable:

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< LocalizedTextFieldfields = 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...
 

Detailed Description

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.

Member Function Documentation

◆ ContainsField()

bool PixelCrushers.DialogueSystem.LocalizedTextTable.ContainsField ( string  fieldName)

Determines whether the table contains a field.

Returns
true, if the field is in the table, false otherwise.
Parameters
fieldNameField name.

Member Data Documentation

◆ fields

List<LocalizedTextField> PixelCrushers.DialogueSystem.LocalizedTextTable.fields = new List<LocalizedTextField>()

The fields that have localized text.

◆ languages

List<string> PixelCrushers.DialogueSystem.LocalizedTextTable.languages = new List<string>()

The languages in the table.

Property Documentation

◆ this[string fieldName]

string PixelCrushers.DialogueSystem.LocalizedTextTable.this[string fieldName]
get

Gets the localized text for a field using the current language.

Parameters
fieldNameField name.

The documentation for this class was generated from the following file: