【玉虚】每日挑战奖励显示优化

dev_chengFeng
gaoxin 2021-09-09 16:40:29 +08:00
parent b1c987b16f
commit b29d7b43fe
2 changed files with 9 additions and 9 deletions

View File

@ -34,7 +34,7 @@ RectTransform:
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_AnchoredPosition: {x: -0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 66, y: 66}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &59355654
@ -182,7 +182,7 @@ RectTransform:
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_AnchoredPosition: {x: -0, y: -15}
m_AnchoredPosition: {x: 0, y: -15}
m_SizeDelta: {x: 66, y: 66}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &610332086
@ -919,7 +919,7 @@ RectTransform:
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_AnchoredPosition: {x: 137.7, y: -2.8}
m_AnchoredPosition: {x: 97.7, y: -2.8}
m_SizeDelta: {x: 99.99997, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &373698968866696419
@ -1287,7 +1287,7 @@ RectTransform:
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_AnchoredPosition: {x: -413, y: 7.3}
m_AnchoredPosition: {x: -396.6, y: 7.3}
m_SizeDelta: {x: 160, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8548789355670338140
@ -1325,7 +1325,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
@ -1540,7 +1540,7 @@ MonoBehaviour:
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 0
m_FillAmount: 0.66
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
@ -5554,7 +5554,7 @@ RectTransform:
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_AnchoredPosition: {x: 483, y: 0}
m_AnchoredPosition: {x: 476.5, y: 0}
m_SizeDelta: {x: 99.99997, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3620476927782998780
@ -9087,7 +9087,7 @@ RectTransform:
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_AnchoredPosition: {x: -197.6, y: -4.5}
m_AnchoredPosition: {x: -284.2, y: -4.5}
m_SizeDelta: {x: 99.99997, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7554134436819503971

View File

@ -233,7 +233,7 @@ function this.ShowRewardBoxProgressData()
Util.GetGameObject(rewardBoxBtn[i], "getFinish"):SetActive(state == 3)
Util.AddOnceClick(rewardBoxBtn[i], function()
if state == 1 then
UIManager.OpenPanel(UIName.BoxRewardShowPopup,rewards[i][2].."#"..rewards[i][3],rewardBoxBtn[i].transform.localPosition.x,-400,rewards[i][1] .. Language[10100])
UIManager.OpenPanel(UIName.BoxRewardShowPopup,{{rewards[i][2], rewards[i][3]}},rewardBoxBtn[i].transform.localPosition.x,-400,rewards[i][1] .. Language[10100])
return
elseif state == 3 then
PopupTipPanel.ShowTip(Language[10101])