static int Update(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UIRect obj = (UIRect)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIRect"); obj.Update(); return(0); }
static int Update(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UIRect obj = LuaScriptMgr.GetNetObject <UIRect>(L, 1); obj.Update(); return(0); }
static public int Update(IntPtr l) { try { UIRect self = (UIRect)checkSelf(l); self.Update(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int Update(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIRect obj = (UIRect)ToLua.CheckObject <UIRect>(L, 1); obj.Update(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int Update(IntPtr L) { int result; try { ToLua.CheckArgsCount(L, 1); UIRect uIRect = (UIRect)ToLua.CheckObject(L, 1, typeof(UIRect)); uIRect.Update(); result = 0; } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }
private void LateUpdate() { #if !UNITY_EDITOR try { #endif // if (ChangeSceneList.Count > 0 && ChangeScenestate == eChangeSceneState.Finished) // { // Action act = ChangeSceneList.Dequeue(); // act(); // } Profiler.BeginSample("UIRect.Update()"); UIRect.Update(); Profiler.EndSample(); #if !UNITY_EDITOR } catch (Exception ex) { Logger.Error(ex.ToString()); } #endif }