public void AddTextEx(string pad, string text) { UIScrollText txtPanel = Name2Pad(pad); if (!txtPanel) { return; } txtPanel.AppendText(text); }
static int _m_AppendText(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIScrollText __cl_gen_to_be_invoked = (UIScrollText)translator.FastGetCSObj(L, 1); try { { string text = LuaAPI.lua_tostring(L, 2); __cl_gen_to_be_invoked.AppendText(text); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
public void AddText(string text) { textList.AppendText(text); }