神印修改

onepiece_demo_arena
wangzhenxing 2024-01-20 20:20:24 +08:00
parent f4a150d655
commit c66b0326b5
2 changed files with 912 additions and 912 deletions

View File

@ -18,7 +18,7 @@ local didLv=0
--配置最大等级
local maxLv=0
--间隔角度
local angle=23
local angle=270
--半径
local radius=250
@ -167,7 +167,7 @@ function GodPrintPanel:OnShow()
end
function GodPrintPanel:OnClose()
angle=23
angle=270
loopCount=0
local var=isShow and 1 or 0
PlayerPrefs.SetInt(PlayerManager.uid .. "_GodPrint_IsShow",var)
@ -282,7 +282,7 @@ function this.SetLoopPre(root,type,index,data,curIndex)
Util.GetGameObject(bg,"bg"):GetComponent("Image").sprite=this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[0].circleBg1)
Util.GetGameObject(lock,"Text"):GetComponent("Text").text=string.format("%s星解锁",data)
elseif type==3 then
Util.GetGameObject(bg,"Frame"):GetComponent("Image").enabled=true
--Util.GetGameObject(bg,"Frame"):GetComponent("Image").enabled=true
-- Util.GetGameObject(bg,"bg"):GetComponent("Image").sprite=this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[equipConfig[data.equipId].Quality].circleBg1)
--Util.GetGameObject(bg,"Frame"):GetComponent("Image").sprite=this.spLoader:LoadSprite(GetQuantityImageByqualityPoint(equipConfig[data.equipId].Quality))
Util.GetGameObject(unlock,"circleFrame"):GetComponent("Image").sprite=this.spLoader:LoadSprite(SoulPrintSpriteByQuantity[equipConfig[data.equipId].Quality].circleBg2)