static int PlayAnimatorUp(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); ExtendButton obj = (ExtendButton)LuaScriptMgr.GetUnityObjectSelf(L, 1, "ExtendButton"); obj.PlayAnimatorUp(); return(0); }
static int get_touchCallback(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ExtendButton obj = (ExtendButton)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name touchCallback"); } else { LuaDLL.luaL_error(L, "attempt to index touchCallback on a nil value"); } } LuaScriptMgr.Push(L, obj.touchCallback); return(1); }
static int get_autoPlayAnimator(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ExtendButton obj = (ExtendButton)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name autoPlayAnimator"); } else { LuaDLL.luaL_error(L, "attempt to index autoPlayAnimator on a nil value"); } } LuaScriptMgr.Push(L, obj.autoPlayAnimator); return(1); }
static int set_animator(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); ExtendButton obj = (ExtendButton)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name animator"); } else { LuaDLL.luaL_error(L, "attempt to index animator on a nil value"); } } obj.animator = (Animator)LuaScriptMgr.GetUnityObject(L, 3, typeof(Animator)); return(0); }