public void OnLocalization(LocalizationService localization) { if (localization == null) return; var label = GetComponent<Text>(); GetComponent<Text>().text = localization.GetFromFile(File, Key, label.text); }
private void OnLocalization(LocalizationService localization) { if (localization == null) return; var label = GetComponent<TextBinder>(); var data = localization.GetFromFile(File, Key); label.FormatString = data; label.OnBindingRefresh(); }
private void OnLocalization(LocalizationService localization) { if (localization == null) { return; } var label = GetComponent <TextBinder>(); var data = localization.GetFromFile(File, Key); label.FormatString = data; label.OnBindingRefresh(); }