-- 创建一个按钮 local button = GUI:Button_Create(parent, "btn_test", 100, 100, "res/public/1900000612.png") -- 为按钮添加悬停提示,文本内容中用 \n 换行 GUI:addMouseOverTips(button, "第一行提示内容\n第二行提示内容", { x = 0, y = 0 }) \n不能自动换行

🤖 回答引擎: 前端Lua | 🕒 时间: 2026-05-17 18:40:36 | 👁️ 阅读: 6
← 返回问答库