예제 #1
0
        public static int Add(string text)
        {
            TextTranslation.TranslationTable instance = GameObject.FindObjectOfType <TextTranslation>().GetValue <TextTranslation.TranslationTable>("m_table");

            instance.Insert_UI(instance.theUITable.Keys.Max() + 1, text);

            return(instance.theUITable.Keys.Max());
        }
예제 #2
0
        public static int Add(string text)
        {
            TextTranslation.TranslationTable instance = GameObject.FindObjectOfType <TextTranslation>().GetValue <TextTranslation.TranslationTable>("m_table");

            instance.Insert_UI(instance.theUITable.Keys.Max() + 1, text);

            Logger.Log($"Added [{text}] to UI table with key [{instance.theUITable.Keys.Max()}]", Logger.LogType.Log);

            return(instance.theUITable.Keys.Max());
        }