public void SetText() { var text = GetComponent <Text>(); if (text != null) { text.text = UCL_LocalizeManager.Get(m_Key); } }
private void Start() { UCL_LocalizeManager.OnLanguageChanged += SetText; if (UCL_LocalizeManager.GetInstance() == null) { return; } SetText(); }