public SetPlaySettings ( int start, int end, int times, int endAt ) : void | ||
start | int | Start frame |
end | int | End frame. -1 indicates the last frame. |
times | int | Repeat times. 0 indicates infinite loop. |
endAt | int | Stop frame. -1 indicates to equal to the end parameter. |
return | void |
static int SetPlaySettings(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); FairyGUI.GMovieClip obj = (FairyGUI.GMovieClip)ToLua.CheckObject <FairyGUI.GMovieClip>(L, 1); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); int arg1 = (int)LuaDLL.luaL_checknumber(L, 3); int arg2 = (int)LuaDLL.luaL_checknumber(L, 4); int arg3 = (int)LuaDLL.luaL_checknumber(L, 5); obj.SetPlaySettings(arg0, arg1, arg2, arg3); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int SetPlaySettings(IntPtr l) { try { FairyGUI.GMovieClip self = (FairyGUI.GMovieClip)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); System.Int32 a3; checkType(l, 4, out a3); System.Int32 a4; checkType(l, 5, out a4); self.SetPlaySettings(a1, a2, a3, a4); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }