aboutsummaryrefslogtreecommitdiff
path: root/Assets/Scripts/Localisation/TextLocaliserUI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Localisation/TextLocaliserUI.cs')
-rw-r--r--Assets/Scripts/Localisation/TextLocaliserUI.cs21
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;
- }
-
-}