static int AttachScreenText(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.UI.Text arg0 = (UnityEngine.UI.Text)ToLua.CheckObject <UnityEngine.UI.Text>(L, 1); CommonUtil.AttachScreenText(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }