前端Lua
前端Lua
前端Lua
这个是组件newPanel 获取这个容器的高度 从他最高的位置往下放大会原来的大小,宽不需要缩放
前端Lua
ActionScaleBy(time, ratio, …)ActionScaleTo(time, ratio, …) 这两个有什么区别?
前端Lua
GUI:ListView_setDirection(ListView_2, 2) GUI:setAnchorPoint(ListView_2, 0.00, 0.00) GUI:setTouchEnabled(ListView_2, true) GUI:setTag(ListView_2, 0) GUI:runAction(ListView_2, GUI:ActionSequence( GUI:ActionMoveTo(0.3, 216, 175) )) 这些都是什么意思
前端Lua
runAction 这个上面意思?
前端Lua
ActionScaleTo(time, ratio, …) 参数 必选 类型 注释 time 是 int 时间 ratio 是 int 缩放比例(百分比) 放大或缩小到某一比例 有第三个参数时, 后两位参数分别表示X轴缩放比、Y轴缩放比 3.40.8版本新增 这个是什么意思
前端Lua
GUI:ActionScaleTo(0.2, 1, 0,1000) 这个函数的 参数是什么意思 怎么填
前端Lua
GUI:addOnClickEvent(child, function() -- 移除之前显示的克隆组件 if npc.currentClone and not GUI:Win_IsNull(npc.currentClone) then GUI:removeFromParent(npc.currentClone) npc.currentClone = n
前端Lua
GUI:addOnClickEvent(child, function() -- 移除之前显示的克隆组件 if npc.currentClone and not GUI:Win_IsNull(npc.currentClone) then GUI:removeFromParent(npc.currentClone) npc.currentClone = n
前端Lua
GUI:addOnClickEvent(child, function() -- 移除之前显示的克隆组件 if npc.currentClone and not GUI:Win_IsNull(npc.currentClone) then GUI:removeFromParent(npc.currentClone) npc.currentClone = n
前端Lua
GUI:addOnClickEvent(child, function() -- 移除之前显示的克隆组件 if npc.currentClone and not GUI:Win_IsNull(npc.currentClone) then GUI:removeFromParent(npc.currentClone) npc.currentClone = n
前端Lua
Inner height <= scrollview height, it will be force sized! error: cc.ScaleBy:create argument #4 is 'ccui.Layout'; 'number' expected. [LUA-print] ---------------------------------------- [LUA-print] LUA ERROR: [string "GUILayout/ale_npc/XingShiH
前端Lua
function npc.main() -- npc.jj_data = longmaishuju local parent = GUI:Win_Create(npc.__cname, 0, 0, 0, 0, false, false, true, true, true, 0) GUI:LoadExport(parent, "UI/XingShiHuFuUI") npc._parent = parent npc.ui = {} npc.ui = G
前端Lua
local npc = {} npc.__cname = "XingShiHuFu" -- npc.cfg = LM_JX_1 -- local job = SL:GetMetaValue("JOB") -- npc.job_cfg = LM_JX_2[job] function npc.main() -- npc.jj_data = longmaishuju local parent = GUI:Win_Create(npc.__cname, 0, 0, 0, 0,
前端Lua