【建木神树】神应属性界面修改
parent
b6640cc370
commit
4462e6f814
|
|
@ -1610,7 +1610,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 25, y: -50}
|
||||
m_AnchoredPosition: {x: 25, y: 50}
|
||||
m_SizeDelta: {x: 0, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6647905203552132254
|
||||
|
|
@ -2761,7 +2761,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 123.99011}
|
||||
m_SizeDelta: {x: 800, y: 230}
|
||||
m_SizeDelta: {x: 800, y: 180}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6861799424909416049
|
||||
CanvasRenderer:
|
||||
|
|
@ -2873,8 +2873,8 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 22.5, y: -150}
|
||||
m_SizeDelta: {x: 25, y: 100}
|
||||
m_AnchoredPosition: {x: 22.5, y: -125}
|
||||
m_SizeDelta: {x: 25, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4811476578694021459
|
||||
CanvasRenderer:
|
||||
|
|
@ -3227,7 +3227,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: 148, y: 0}
|
||||
m_AnchoredPosition: {x: 100, y: 0}
|
||||
m_SizeDelta: {x: 102.79999, y: 40}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4853678151928099076
|
||||
|
|
@ -3265,7 +3265,7 @@ MonoBehaviour:
|
|||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 5
|
||||
m_Alignment: 3
|
||||
m_AlignByGeometry: 0
|
||||
m_RichText: 1
|
||||
m_HorizontalOverflow: 1
|
||||
|
|
|
|||
|
|
@ -44,12 +44,11 @@ function this:OnShow(_parent)
|
|||
go.gameObject:SetActive(true)
|
||||
local name = Util.GetGameObject(go,"name"):GetComponent("Text")
|
||||
local num = Util.GetGameObject(go,"num"):GetComponent("Text")
|
||||
num.gameObject:SetActive(false)
|
||||
if SacredTreeManager.GetTowerLevel() >= data[i].allNum then
|
||||
name.text = "<color=green>"..PropertyConfig[data[i].id].Info..":</color>"
|
||||
num.text = "<color=green>".."四灵试炼通关"..data[i].allNum.."层("..data[i].curNum.."/"..data[i].allNum..")</color>"
|
||||
name.text = "<color=#66FF00>"..PropertyConfig[data[i].id].Info..":四灵试炼通关"..data[i].allNum.."层("..data[i].curNum.."/"..data[i].allNum..")</color>"
|
||||
else
|
||||
name.text = PropertyConfig[data[i].id].Info..":"
|
||||
num.text = "四灵试炼通关"..data[i].allNum.."层("..data[i].curNum.."/"..data[i].allNum..")"
|
||||
name.text = "<color=#B9AE97>"..PropertyConfig[data[i].id].Info..":四灵试炼通关"..data[i].allNum.."层("..data[i].curNum.."/"..data[i].allNum..")</color>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue