STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
前端Lua

LUA_EVENT_OPENWIN 这个事件的窗口ID怎么查询

前端Lua

给一个按钮增加点击事件 点击打开远程仓库

前端Lua

[LUA-print] ---------------------------------------- [LUA-print] LUA ERROR: [string "scripts/game/view/layersui/bag_layer/BagLayer..."]:1112: attempt to index field '_proxy' (a nil value) [LUA-print] stack traceback: [string "scripts/main.lu

前端Lua

我的背包有个按钮 对象是 ui.Button_1 我要让这个按钮再角色U1变量为 5的时候显示出来 否则是隐藏的 你帮我写这个函数

前端Lua

--展开顶部按钮 function Button:upshow() local Node = GUI:getChildByName(parent, "Node1_upshow") if Node then GUI:setVisible(Node, true) return end local Node_1 = GUI:Node_Create(parent, "Node1_upshow", 0, 0) --基础容器 local layout = GUI:L

前端Lua

为什么我的layout容器 偏移了

前端Lua

--展开顶部按钮 function Button:upshow() local Node = GUI:getChildByName(parent, "Node1_upshow") if Node then GUI:setVisible(Node, true) return end local Node_1 = GUI:Node_Create(parent, "Node1_upshow", 0, 0) --基础容器 local layout = GUI:Layout_Create(Node_1,

前端Lua

手动怎么控制

前端Lua

--展开顶部按钮 function Button:upshow() local Node = GUI:getChildByName(parent, "Node1_upshow") if Node then GUI:setVisible(Node, true) return end local Node_1 = GUI:Node_Create(parent, "Node1_upshow", 0, 0) --基础容器 local layout = GUI:L

前端Lua

unction Button:upshow() local Node = GUI:getChildByName(parent, "Node1_upshow") if Node then GUI:setVisible(Node, true) return end local Node_1 = GUI:Node_Create(parent, "Node1_upshow", 0, 0) --基础容器 local layout = GUI:Layout_Crea

前端Lua

warning, loadTile:2, 100, 1347, param error warning, loadTile:2, 100, 1387, param error warning, loadTile:2, 100, 1248, param error warning, loadTile:2, 100, 1268, param error warning, loadTile:2, 100, 1328, param error warning, loadTile:2, 100, 1388

前端Lua

--自定义函数:执行升起动画(从当前位置底部升起) -- @param sssWidget 要升的控件(例如图片) -- @param targetX 目标X坐标 -- @param targetY 目标Y坐标 -- @param duration 动画持续时间(秒) local function playRiseAnimation(sssWidget, targetX, targetY, duration) -- 检查控件是否有效 if GUI:Win_IsNull(sssWi

前端Lua

-- 自定义函数:执行下降动画(从最高位降到底部后隐藏) local function playFallAnimation(sssWidget, targetX, targetY, duration) -- 检查控件是否有效 if GUI:Win_IsNull(sssWidget) then SL:print("sss 控件不存在或为空") return end -- 获取控件尺寸 local size = GUI

前端Lua

能加上边降边减少透明度的效果吗

前端Lua

-- 自定义函数:执行升起动画(从当前位置底部升起) local function playRiseAnimation(sssWidget, targetX, targetY, duration) -- 检查控件是否有效 if GUI:Win_IsNull(sssWidget) then SL:print("sss 控件不存在或为空") return end -- 获取控件当前位置 local currentPos