ID1010484】

易经宝库可选奖励优化
dev_chengFeng
jiaoyangna 2021-10-15 14:35:57 +08:00
parent 3bb3e41f09
commit e026881024
2 changed files with 6 additions and 8 deletions

View File

@ -3505,9 +3505,9 @@ 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: 40, y: -20}
m_AnchoredPosition: {x: 129.4, y: -34.9}
m_SizeDelta: {x: 100, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5000003, y: 0.5}
--- !u!222 &4346489256818483164
CanvasRenderer:
m_ObjectHideFlags: 0
@ -14100,8 +14100,8 @@ 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: 150, y: -20}
m_SizeDelta: {x: 100, y: 100}
m_AnchoredPosition: {x: 11.5, y: -30}
m_SizeDelta: {x: 100, y: 75.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &3601071905900668928
MonoBehaviour:

View File

@ -118,8 +118,8 @@ function this:SetSingleData(index,item,data)
local t2 = true
local t3 = true
--判断是否可以选择
if PlayerManager.level >= data.LevelLimit then
num.gameObject:SetActive(true)
num.gameObject:SetActive(true)
if PlayerManager.level >= data.LevelLimit then
limit1.gameObject:SetActive(false)
select:SetActive(true)
else
@ -128,7 +128,6 @@ function this:SetSingleData(index,item,data)
t1 = false
end
if ActData.curLevel >= data.FloorLimit then
num.gameObject:SetActive(true)
limit2.gameObject:SetActive(false)
select:SetActive(true)
else
@ -150,7 +149,6 @@ function this:SetSingleData(index,item,data)
num.text = (data.InitializeNum - aData.progress).."/"..data.InitializeNum
end
num.gameObject:SetActive(t1 and t2)
select:SetActive(t1 and t2 and t3)
end