Class TextLocaliser
The class to change the key in the scene to localised values
Namespace: JelleVer.Localisation
Assembly: cs.temp.dll.dll
Syntax
public class TextLocaliser : MonoBehaviour
Fields
UpdateAtStart
Declaration
public bool UpdateAtStart
Field Value
| Type | Description |
|---|---|
| Boolean | If the value should be updated at the start of the scene load. |
Methods
UpdateText(String)
Set the text component to a localised value
Declaration
public void UpdateText(string key = "")
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | the localisation key to search for the correct value |