static int set_value(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.LazyComputableAnimationProperty <float, float> obj = (Nova.LazyComputableAnimationProperty <float, float>)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.value = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index value on a nil value")); } }
static int get_id(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.LazyComputableAnimationProperty <float, float> obj = (Nova.LazyComputableAnimationProperty <float, float>)o; string ret = obj.id; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index id on a nil value")); } }
static int get_value(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.LazyComputableAnimationProperty <UnityEngine.Vector3, UnityEngine.Vector3> obj = (Nova.LazyComputableAnimationProperty <UnityEngine.Vector3, UnityEngine.Vector3>)o; float ret = obj.value; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index value on a nil value")); } }