using System.Collections; using System.Collections.Generic; using UnityEngine; public class ALERT : MonoBehaviour { // Start is called before the first frame update public static void message(string T) { GameObject PNL = GameObject.Find("HIDER").transform.Find("MESSAGETEMPLATE").gameObject; PNL.SetActive(true); PNL.transform.Find("Text").GetComponent().text = TRANS.This(T); } }