Maintains a reference to a global TextTable that other scripts can use.
More...
|
static string | Lookup (StringField fieldName) |
| Looks up a field value in the global text table.
|
|
static string | Lookup (string fieldName) |
| Looks up a field value in the global text table.
|
|
Maintains a reference to a global TextTable that other scripts can use.
◆ Awake()
virtual void PixelCrushers.GlobalTextTable.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Lookup() [1/2]
static string PixelCrushers.GlobalTextTable.Lookup |
( |
string |
fieldName | ) |
|
|
inlinestatic |
Looks up a field value in the global text table.
- Parameters
-
- Returns
- The field value in the global text table for the current language.
◆ Lookup() [2/2]
static string PixelCrushers.GlobalTextTable.Lookup |
( |
StringField |
fieldName | ) |
|
|
inlinestatic |
Looks up a field value in the global text table.
- Parameters
-
- Returns
- The field value in the global text table for the current language.
◆ OnDestroy()
virtual void PixelCrushers.GlobalTextTable.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ s_instance
◆ currentLanguage
string PixelCrushers.GlobalTextTable.currentLanguage |
|
staticgetset |
The current language to use.
◆ instance
Current instance of GlobalTextTable.
◆ textTable
TextTable PixelCrushers.GlobalTextTable.textTable |
|
staticgetset |
Current global text table.
The documentation for this class was generated from the following file:
- C:/Dev/Quest Machine/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/Text/GlobalTextTable.cs