static int OnTweenUpdate(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.Transition obj = (FairyGUI.Transition)ToLua.CheckObject <FairyGUI.Transition>(L, 1); FairyGUI.GTweener arg0 = (FairyGUI.GTweener)ToLua.CheckObject <FairyGUI.GTweener>(L, 2); obj.OnTweenUpdate(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }