static int InvalidateBatchingState(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GComponent))) { FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.ToObject(L, 1); obj.InvalidateBatchingState(); return(0); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(FairyGUI.GComponent), typeof(bool))) { FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.ToObject(L, 1); bool arg0 = LuaDLL.lua_toboolean(L, 2); obj.InvalidateBatchingState(arg0); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GComponent.InvalidateBatchingState")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int InvalidateBatchingState(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject <FairyGUI.GComponent>(L, 1); obj.InvalidateBatchingState(); return(0); } else if (count == 2) { FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject <FairyGUI.GComponent>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.InvalidateBatchingState(arg0); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GComponent.InvalidateBatchingState")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int InvalidateBatchingState(IntPtr l) { try { FairyGUI.GComponent self = (FairyGUI.GComponent)checkSelf(l); System.Boolean a1; checkType(l, 2, out a1); self.InvalidateBatchingState(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int InvalidateBatchingState(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.InvalidateBatchingState(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
void tweenComplete(TransitionItem item) { item.tweener = null; item.completed = true; _totalTasks--; if (item.hook2 != null) { item.hook2(); } if (item.type == TransitionActionType.XY || item.type == TransitionActionType.Size || item.type == TransitionActionType.Scale) { _owner.InvalidateBatchingState(); } CheckAllComplete(); }