PixelCrushers.DialogueSystem.UpdateLocalizedUITexts Class Reference

This script provides a facility to update the localized text of all localized Text elements. More...

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

Public Member Functions

void UpdateTexts (string languageCode)
 Updates the current language and all localized Texts. More...
 

Public Attributes

string languagePlayerPrefsKey = "Language"
 The PlayerPrefs key to store the player's selected language code. More...
 

Detailed Description

This script provides a facility to update the localized text of all localized Text elements.

You will typically call it from the event handler of a language selection button or pop-up menu. It also localizes Texts at start.

Member Function Documentation

◆ UpdateTexts()

void PixelCrushers.DialogueSystem.UpdateLocalizedUITexts.UpdateTexts ( string  languageCode)

Updates the current language and all localized Texts.

Parameters
languageCodeLanguage code.

Member Data Documentation

◆ languagePlayerPrefsKey

string PixelCrushers.DialogueSystem.UpdateLocalizedUITexts.languagePlayerPrefsKey = "Language"

The PlayerPrefs key to store the player's selected language code.


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