public SetSortingOrder ( int value, bool apply ) : void | ||
value | int | sorting order value |
apply | bool | false if you dont want the default sorting behavior. |
return | void |
static int SetSortingOrder(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.UIPainter obj = (FairyGUI.UIPainter)ToLua.CheckObject(L, 1, typeof(FairyGUI.UIPainter)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.SetSortingOrder(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int SetSortingOrder(IntPtr l) { try { FairyGUI.UIPainter self = (FairyGUI.UIPainter)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); self.SetSortingOrder(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }