|
virtual void | ValidateFieldNames () |
| If fieldName(s), tmpFieldName(s) are blank, set them to the UI element's text.
|
|
virtual void | UpdateText () |
| Set UI element's text (and possibly font) according to current language.
|
|
virtual void | SetFieldName (string newFieldName="") |
| Sets the field name, which is the key to use in the text table.
|
|
virtual void | UpdateDropdownOptions () |
| If changing the Dropdown options, call this afterward to update the localization.
|
|
◆ GetLocalizedText()
virtual string PixelCrushers.LocalizeUI.GetLocalizedText |
( |
string |
fieldName | ) |
|
|
inlineprotectedvirtual |
◆ HasField()
virtual bool PixelCrushers.LocalizeUI.HasField |
( |
string |
fieldName | ) |
|
|
inlineprotectedvirtual |
◆ HasLanguage()
virtual bool PixelCrushers.LocalizeUI.HasLanguage |
( |
string |
language | ) |
|
|
inlineprotectedvirtual |
◆ OnEnable()
virtual void PixelCrushers.LocalizeUI.OnEnable |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ SetFieldName()
virtual void PixelCrushers.LocalizeUI.SetFieldName |
( |
string |
newFieldName = "" | ) |
|
|
inlinevirtual |
Sets the field name, which is the key to use in the text table.
By default, the field name is the initial value of the Text component.
- Parameters
-
◆ Start()
virtual void PixelCrushers.LocalizeUI.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ UpdateDropdownOptions()
virtual void PixelCrushers.LocalizeUI.UpdateDropdownOptions |
( |
| ) |
|
|
inlinevirtual |
If changing the Dropdown options, call this afterward to update the localization.
◆ UpdateText()
virtual void PixelCrushers.LocalizeUI.UpdateText |
( |
| ) |
|
|
inlinevirtual |
Set UI element's text (and possibly font) according to current language.
◆ ValidateFieldNames()
virtual void PixelCrushers.LocalizeUI.ValidateFieldNames |
( |
| ) |
|
|
inlinevirtual |
If fieldName(s), tmpFieldName(s) are blank, set them to the UI element's text.
◆ dropdown
UnityEngine.UI.Dropdown PixelCrushers.LocalizeUI.dropdown |
|
getset |
◆ fieldName
string PixelCrushers.LocalizeUI.fieldName |
|
getset |
◆ fieldNames
List<string> PixelCrushers.LocalizeUI.fieldNames |
|
getset |
◆ localizedFonts
◆ started
bool PixelCrushers.LocalizeUI.started |
|
getprotected |
◆ text
UnityEngine.UI.Text PixelCrushers.LocalizeUI.text |
|
getset |
◆ textTable
◆ tmpFieldNames
List<string> PixelCrushers.LocalizeUI.tmpFieldNames |
|
getset |
The documentation for this class was generated from the following file:
- C:/Dev/Quest Machine/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/UI/LocalizeUI.cs