public string Get(LocalizationId key) { if (m_texts.ContainsKey(key)) { return(m_texts[key]); } else { return(""); } }
public void Set(LocalizationId key, string value) { if (m_texts.ContainsKey(key)) { m_texts[key] = value; } else { m_texts.Add(key, value); } }
public string Get(LocalizationId key) { if (m_currentLocalization != null) { return(m_currentLocalization.Get(key)); } else { #if UNITY_EDITOR return(key.value); #else return(""); #endif } }
public void UpdateText(epona.LocalizationId _key, params object[] i_args) { m_id = _key; m_args = i_args; UpdateText(); }
public void UpdateText(string _key, params object[] i_args) { m_id = new LocalizationId(_key); m_args = i_args; UpdateText(); }