static int ExecuteDown(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1 && TypeChecker.CheckTypes(L, 1, typeof(UI.StateHandle))) { UI.StateHandle obj = (UI.StateHandle)ToLua.ToObject(L, 1); obj.ExecuteDown(); return(0); } else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UI.StateHandle), typeof(UnityEngine.Vector2))) { UI.StateHandle obj = (UI.StateHandle)ToLua.ToObject(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); obj.ExecuteDown(arg0); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UI.StateHandle.ExecuteDown")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }