A utility class for generating LocalizedStrings! A LocalizedString is a collection of strings associated with a Language. Often used for displaying text on signs or when talking to Npcs. Try using this with TextBubble.SetLocalizedText()!
More...
|
| LocalizedString | Create (string text) |
| | Returns a LocalizedString with the provided text associated with English.
|
| |
| LocalizedString | Create (int language, string text) |
| | Returns a LocalizedString with the provided text associated with the provided language.
|
| |
A utility class for generating LocalizedStrings! A LocalizedString is a collection of strings associated with a Language. Often used for displaying text on signs or when talking to Npcs. Try using this with TextBubble.SetLocalizedText()!
◆ Create() [1/2]
| LocalizedString Create |
( |
int | language, |
|
|
string | text ) |
Returns a LocalizedString with the provided text associated with the provided language.
- Parameters
-
| language | The Language to associate the text with |
| text | The text of the LocalizedString |
- Returns
- A new LocalizedString with the provided text and associated Language.
◆ Create() [2/2]
| LocalizedString Create |
( |
string | text | ) |
|
Returns a LocalizedString with the provided text associated with English.
- Parameters
-
| text | The text of the LocalizedString |
- Returns
- A new LocalizedString with the provided text.