From 93b5f588e3cb644f61e002932d61f2c6cdab87ab Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 11 Oct 2019 18:16:34 -0400 Subject: We finally got rid of GPL --- Assets/Scripts/Localisation/TextLocaliserUI.cs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Assets/Scripts/Localisation/TextLocaliserUI.cs (limited to 'Assets/Scripts/Localisation/TextLocaliserUI.cs') 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(); - string value = LocalisationSystem.GetLocalisedValue(key); - textField.text = value; - } - -} -- cgit v1.2.3