【幸运探宝优化】界面显示规则优化

dev_chengFeng
jiaoyangna 2021-05-12 18:40:54 +08:00
parent 8166db38d5
commit 139b4b2387
2 changed files with 28 additions and 25 deletions

View File

@ -5055,11 +5055,11 @@ RectTransform:
m_Father: {fileID: 431121579109976688}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_SizeDelta: {x: 10, y: 10}
m_Pivot: {x: 1, y: 1}
--- !u!222 &5475440056199852770
CanvasRenderer:
m_ObjectHideFlags: 0
@ -5356,11 +5356,11 @@ RectTransform:
m_Father: {fileID: 1058112159492565788}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &8448942207458358462
CanvasRenderer:
m_ObjectHideFlags: 0
@ -6703,11 +6703,11 @@ RectTransform:
m_Father: {fileID: 9013896324936312849}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &5351627203379577253
CanvasRenderer:
m_ObjectHideFlags: 0
@ -8122,11 +8122,11 @@ RectTransform:
m_Father: {fileID: 7061328671387212838}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &9177262551365643261
CanvasRenderer:
m_ObjectHideFlags: 0
@ -8641,11 +8641,11 @@ RectTransform:
m_Father: {fileID: 6917463505752279412}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &2263677424980489900
CanvasRenderer:
m_ObjectHideFlags: 0
@ -8715,11 +8715,11 @@ RectTransform:
m_Father: {fileID: 9143958254435470623}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &5119987226850630728
CanvasRenderer:
m_ObjectHideFlags: 0
@ -8789,11 +8789,11 @@ RectTransform:
m_Father: {fileID: 7729020016393712961}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &6701223393949860432
CanvasRenderer:
m_ObjectHideFlags: 0
@ -9600,11 +9600,11 @@ RectTransform:
m_Father: {fileID: 2681210594233964896}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 1}
--- !u!222 &8610861887035052367
CanvasRenderer:
m_ObjectHideFlags: 0

View File

@ -65,6 +65,7 @@ function LuckyTurnTablePanel:InitComponent(gameObject)
this.itemEffectIcon[i]=Util.GetGameObject(this.itemList[i], "Image")
this.itemViewList[i]=SubUIManager.Open(SubUIConfig.ItemView, this.itemList[i].transform)
this.itemViewList[i]:OnOpen(false, {tab[1][1],tab[1][2]},1)
end
--记录
@ -572,8 +573,10 @@ function this.SetItemViewShow(data,func)
this.itemViewList[i]:OnOpen(false, {tab[1],tab[2]},1, false, false, false, sortingOrder)
local qua= LuckyTurnTableManager.dialRewardConfig[data[i].luckId].Rare
this.itemQuality[i].sprite = Util.LoadSprite(quaImage[qua])
this.itemQuality[i]:SetNativeSize()
if qua > 0 then
this.itemQuality[i].gameObject:SetActive(true)
this.itemQuality[i].transform:SetAsLastSibling()
else
this.itemQuality[i].gameObject:SetActive(false)
end