public static UITextType AddToUITable(string text) { var table = TextTranslation.Get().m_table; var key = table.theUITable.Keys.Max() + 1; table.theUITable[key] = text; return((UITextType)key); }
public void Awake() { Application.runInBackground = true; _thisInstance = this; var instance = TextTranslation.Get().GetValue <TextTranslation.TranslationTable>("m_table"); instance.theUITable[(int)UITextType.PleaseUseController] = "<color=orange>Quantum Space Buddies</color> is best experienced with friends..."; }
public static void ReplaceUI(UITextType key, string text) { var table = TextTranslation.Get().m_table; table.theUITable[(int)key] = text; }