diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-10-11 18:16:34 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-10-11 18:16:34 -0400 |
| commit | 93b5f588e3cb644f61e002932d61f2c6cdab87ab (patch) | |
| tree | 83025a2c02383512fe58792283482d6da184d36d /Assets/Scripts/Localisation/TextLocaliserUI.cs | |
| parent | 65b90c5cd18702d0d6ca167fd264c3b495b2ee33 (diff) | |
| download | Unicity-93b5f588e3cb644f61e002932d61f2c6cdab87ab.tar.gz Unicity-93b5f588e3cb644f61e002932d61f2c6cdab87ab.tar.bz2 Unicity-93b5f588e3cb644f61e002932d61f2c6cdab87ab.zip | |
We finally got rid of GPL
Diffstat (limited to 'Assets/Scripts/Localisation/TextLocaliserUI.cs')
| -rw-r--r-- | Assets/Scripts/Localisation/TextLocaliserUI.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Assets/Scripts/Localisation/TextLocaliserUI.cs b/Assets/Scripts/Localisation/TextLocaliserUI.cs deleted file mode 100644 index a56afb0..0000000 --- a/Assets/Scripts/Localisation/TextLocaliserUI.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using TMPro; -using UnityEngine; - -[RequireComponent(typeof(TextMeshProUGUI))] -public class TextLocaliserUI : MonoBehaviour -{ - TextMeshProUGUI textField; - - public string key; - - // Start is called before the first frame update - void Start() - { - textField = GetComponent<TextMeshProUGUI>(); - string value = LocalisationSystem.GetLocalisedValue(key); - textField.text = value; - } - -} |
