【公会红包】报错修改
parent
692e1de637
commit
cc34d28e8d
|
@ -73,6 +73,7 @@ function PlayerHead:UnLoadFrameEffect()
|
||||||
end
|
end
|
||||||
|
|
||||||
function PlayerHead:SetLayer(orderLayer)
|
function PlayerHead:SetLayer(orderLayer)
|
||||||
|
if not orderLayer then return end
|
||||||
if self.frameEffect then
|
if self.frameEffect then
|
||||||
Util.AddParticleSortLayer(self.frameEffect, orderLayer - self.orderLayer)
|
Util.AddParticleSortLayer(self.frameEffect, orderLayer - self.orderLayer)
|
||||||
self.orderLayer = orderLayer
|
self.orderLayer = orderLayer
|
||||||
|
|
|
@ -108,7 +108,7 @@ function this:SetFirstShow(data)
|
||||||
this.firstHead[this.firstPre]:SetFrame(data.headFrame)
|
this.firstHead[this.firstPre]:SetFrame(data.headFrame)
|
||||||
this.firstHead[this.firstPre]:SetLevel(data.level)
|
this.firstHead[this.firstPre]:SetLevel(data.level)
|
||||||
this.firstHead[this.firstPre]:SetScale(Vector3.one *0.9)
|
this.firstHead[this.firstPre]:SetScale(Vector3.one *0.9)
|
||||||
this.firstHead[this.firstPre]:SetLayer(this.sortingOrder)
|
this.firstHead[this.firstPre]:SetLayer(sortingOrder)
|
||||||
this.firstHead[this.firstPre]:SetEffectScale(0.85)
|
this.firstHead[this.firstPre]:SetEffectScale(0.85)
|
||||||
|
|
||||||
this.firstPlayerName.text=data.userName
|
this.firstPlayerName.text=data.userName
|
||||||
|
@ -139,8 +139,8 @@ function this:SetShow(root,data,mydata)
|
||||||
this.playerScrollHead[root]:SetFrame(data.headFrame)
|
this.playerScrollHead[root]:SetFrame(data.headFrame)
|
||||||
this.playerScrollHead[root]:SetLevel(data.level)
|
this.playerScrollHead[root]:SetLevel(data.level)
|
||||||
this.playerScrollHead[root]:SetScale(Vector3.one * 0.7)
|
this.playerScrollHead[root]:SetScale(Vector3.one * 0.7)
|
||||||
this.playerScrollHead[root]:SetLayer(this.sortingOrder)
|
this.playerScrollHead[root]:SetLayer(sortingOrder)
|
||||||
this.firstHead[this.firstPre]:SetEffectScale(0.75)
|
this.playerScrollHead[root]:SetEffectScale(0.75)
|
||||||
playerName.text = data.userName
|
playerName.text = data.userName
|
||||||
|
|
||||||
for k, v in pairs(uidList) do
|
for k, v in pairs(uidList) do
|
||||||
|
|
Loading…
Reference in New Issue