bug修改提交

dev_chengFeng
wangzhenxing 2021-10-14 15:38:47 +08:00
parent 7dce99c08c
commit 25bce8b8d4
1 changed files with 8 additions and 3 deletions

View File

@ -106,8 +106,13 @@ function this.SetStarShow(star,grade,layer)
currRank=grade currRank=grade
titleLive = poolManager:LoadAsset("fx_duanwei_0"..grade, PoolManager.AssetType.GameObject) titleLive = poolManager:LoadAsset("fx_duanwei_0"..grade, PoolManager.AssetType.GameObject)
titleLive.transform:SetParent(this.rankImg.transform) titleLive.transform:SetParent(this.rankImg.transform)
titleLive.transform.localPosition=Vector3.New(0,-600,0) if grade==5 then
titleLive.transform.localScale =Vector3.New(1,1,1) titleLive.transform.localPosition=Vector3.New(0,-500,0)
titleLive.transform.localScale =Vector3.New(0.8,0.8,1)
else
titleLive.transform.localPosition=Vector3.New(0,-600,0)
titleLive.transform.localScale =Vector3.New(1,1,1)
end
AddParticleSortLayer(titleLive,layer) AddParticleSortLayer(titleLive,layer)
end end
this.rankName.text=rankData.RankName this.rankName.text=rankData.RankName
@ -224,7 +229,7 @@ function this.StartProgressChange(func)
end end
end end
this.TimeCounter = Timer.New(_TimeUpdate,0.05, -1, true) this.TimeCounter = Timer.New(_TimeUpdate,0.005, -1, true)
this.TimeCounter:Start() this.TimeCounter:Start()
end end