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

self.ui["Button_" .. i]:runAction(cc.Sequence:create(cc.DelayTime:create((4 - i) * 0.05),cc.MoveTo:create(0.3, cc.p(58, y[i] + 30)),cc.EaseElasticOut:create(cc.MoveTo:create(1.0, cc.p(58, y[i])), 0.2)))

后端Lua

function diybutton.bag(actor) -- 判断客户端类型 (1=PC, 2=Mobile) local isMobile = tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 -- 根据客户端类型设置主容器(ListView)参数 local tk = "" if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0|width=85|height=395|childre

后端Lua

function diybutton.bag(actor) -- 判断客户端类型 (1=PC, 2=Mobile) local isMobile = tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 -- 根据客户端类型设置主容器(ListView)参数 local tk = "" if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0

后端Lua

给予英雄称号

TXT语法专家

lua给英雄称号

后端Lua

function diybutton.bag(actor) -- 判断客户端类型 (1=PC, 2=Mobile) local isMobile = tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 -- 根据客户端类型设置主容器(ListView)参数 local tk = "" if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0|width=85|height=395|childre

TXT语法专家

合击威力有些时候突然高有些时候突然低了

后端Lua

function diybutton.bag(actor) -- 判断客户端类型 (1=PC, 2=Mobile) local isMobile = tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 -- 根据客户端类型设置主容器(ListView)参数 local tk = "" if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0

前端Lua

前端用什么记录按钮的点击状态呢

前端Lua

给我做个切换地图的触发事件

后端Lua

function diybutton.bag(actor) local isMobile = tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 local tk = "" if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0|width=85|height=395|children={hq106,hq107,hq108,hq109,hq110,hq111,hq

前端Lua

一个界面 上面有个按钮 第一次进来显示文字为 未点击 点击后显示 已点击 关闭界面后点开 还是显示已点击

前端Lua

GUI:setTag(ui.Button_5, 1) 这个标识可以存在多久

前端Lua

bad argument #1 to 'pairs' (table expected, got userdata)

前端Lua

local switch_map = {} local MainButton = SL:Require("GUILayout\\2_TopLayout\\L_MainButton", true) function switch_map:main() -- 检查MainAssist是否初始化 if not MainAssist or not MainAssist._ui then SL:Print("MainAssist未初始化") return