前端Lua
前端Lua
前端Lua
local ui = {} function ui.init(parent) -- Create Node local Node = GUI:Node_Create(parent, "Node", 0.00, 0.00) GUI:setChineseName(Node, "主界面操作节点") GUI:setAnchorPoint(Node, 0.50, 0.50) GUI:setTag(Node, -1) -- Create Panel_bg local Panel_bg = G
前端Lua
这段代码放在哪里执行
前端Lua
想点击主界面音量按钮 修改GUIExport里面main的main_property_win32.lua文件 来修改按钮图片
前端Lua
local Button_voice = GUI:Button_Create(Panel_act, "Button_voice", 156.00, 68.00, "res/private/main-win32/00000037.png") GUI:Button_loadTexturePressed(Button_voice, "res/private/main-win32/00000037a.png") GUI:Button_loadTextureDisabled(Button_voice,
前端Lua
local Button_voice = GUI:Button_Create(Panel_act, "Button_voice", 156.00, 68.00, "res/private/main-win32/00000037.png") GUI:Button_loadTexturePressed(Button_voice, "res/private/main-win32/00000037a.png") GUI:Button_loadTextureDisabled(Button_voice,
前端Lua
"<font color='%s'>%s:%s</font><br>" 把这个按下面格式改 "<font color='%s' size='%s'><outline color = '#000000' size = '2'>%s</outline></font>"
前端Lua
<font color='%s'>%s:%s</font><br> 描边
前端Lua
"<font color='%s'>%s:%s</font><br>" 描边#000000 size 2
前端Lua
RichTextCombine_pushBackElements(widget, elements) 这个怎么用?
前端Lua
local rich = GUI:RichTextFCOLOR_Create(n2_zhuansheng.ui.bg, "rich", 100, 0, "<灼伤:几率灼烧目标/FCOLOR=254><每秒燃烧目标5%生命值/FCOLOR=249>", 600, 16, "#28EF01", 5, function() SL:print("===========超链") end) 超链这个是怎么用的?
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.itemCount = 0 if not ItemTips._PList then
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.item
前端Lua
function ItemTips.CreateEquipPanel(data, itemData, isWear, panelInsertIndex) if not data or not itemData then return end if SL:GetMetaValue("WINPLAYMODE") then isWear = false end ResetDescParam() ItemTips.item
前端Lua