static int Play(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); BezierMove obj = (BezierMove)ToLua.CheckObject(L, 1, typeof(BezierMove)); obj.Play(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_delay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; float ret = obj.delay; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index delay on a nil value" : e.Message)); } }
static int get_point(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; UnityEngine.Vector3[] ret = obj.point; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index point on a nil value" : e.Message)); } }
static int set_playOnEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.playOnEnable = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index playOnEnable on a nil value" : e.Message)); } }
static int set_delay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.delay = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index delay on a nil value" : e.Message)); } }
static int set_point(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; UnityEngine.Vector3[] arg0 = ToLua.CheckObjectArray <UnityEngine.Vector3>(L, 2); obj.point = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index point on a nil value" : e.Message)); } }
static int get_playOnEnable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BezierMove obj = (BezierMove)o; bool ret = obj.playOnEnable; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index playOnEnable on a nil value" : e.Message)); } }