static int set_curve(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.TweenFrameData <DragonBones.BoneFrameData> obj = (DragonBones.TweenFrameData <DragonBones.BoneFrameData>)o; float[] arg0 = ToLua.CheckNumberArray <float>(L, 2); obj.curve = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index curve on a nil value" : e.Message)); } }
static int get_curve(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.TweenFrameData <DragonBones.BoneFrameData> obj = (DragonBones.TweenFrameData <DragonBones.BoneFrameData>)o; float[] ret = obj.curve; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index curve on a nil value" : e.Message)); } }
static int set_tweenEasing(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.TweenFrameData <DragonBones.BoneFrameData> obj = (DragonBones.TweenFrameData <DragonBones.BoneFrameData>)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.tweenEasing = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tweenEasing on a nil value" : e.Message)); } }
static int get_tweenEasing(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.TweenFrameData <DragonBones.BoneFrameData> obj = (DragonBones.TweenFrameData <DragonBones.BoneFrameData>)o; float ret = obj.tweenEasing; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tweenEasing on a nil value" : e.Message)); } }