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