周卡界面修改,英雄进阶界面修改
parent
0b1a7b7975
commit
8b18f5eb00
|
@ -650,7 +650,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.0025177002, y: -0.000041991243}
|
||||
m_AnchoredPosition: {x: -0.0025177002, y: -0.00007251677}
|
||||
m_SizeDelta: {x: 762.1, y: 195.8}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &3791396216814909723
|
||||
|
@ -1451,7 +1451,7 @@ MonoBehaviour:
|
|||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
|
||||
m_FontSize: 28
|
||||
m_FontSize: 36
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 0
|
||||
|
|
|
@ -849,7 +849,7 @@ MonoBehaviour:
|
|||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
|
||||
m_FontSize: 48
|
||||
m_FontSize: 42
|
||||
m_FontStyle: 2
|
||||
m_BestFit: 0
|
||||
m_MinSize: 4
|
||||
|
@ -4018,8 +4018,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: 10, y: 18}
|
||||
m_SizeDelta: {x: 315.5, y: 101.6}
|
||||
m_AnchoredPosition: {x: 6.5, y: 18}
|
||||
m_SizeDelta: {x: 171.3, y: 101.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1872188597313501152
|
||||
CanvasRenderer:
|
||||
|
@ -4051,10 +4051,10 @@ MonoBehaviour:
|
|||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3}
|
||||
m_FontSize: 35
|
||||
m_FontSize: 30
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 1
|
||||
m_MinSize: 20
|
||||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 35
|
||||
m_Alignment: 4
|
||||
m_AlignByGeometry: 0
|
||||
|
@ -4062,7 +4062,7 @@ MonoBehaviour:
|
|||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: "\u65E0\u7B26\u5408\u8981\u6C42\n\u7684\u795E\u5C06\uFF01"
|
||||
m_Text: "\u65E0\u7B26\u5408\u8981\u6C42\u7684\u795E\u5C06\uFF01"
|
||||
LanguageIndex: 10146
|
||||
--- !u!1 &7908384725362031421
|
||||
GameObject:
|
||||
|
|
|
@ -18,6 +18,7 @@ function RoleUpStarListPanel:InitComponent()
|
|||
--this.grid = Util.GetGameObject(self.gameObject, "scroll/grid")
|
||||
this.desText = Util.GetGameObject(self.gameObject, "desText"):GetComponent("Text")
|
||||
this.numText = Util.GetGameObject(self.gameObject, "numText"):GetComponent("Text")
|
||||
Util.GetGameObject(self.gameObject, "bg/Text"):GetComponent("Text").text="祭品英雄选择"
|
||||
|
||||
local v = Util.GetGameObject(self.gameObject, "scroll"):GetComponent("RectTransform").rect
|
||||
--LogGreen("v.width:".. v.width.." v.height:"..v.height)
|
||||
|
@ -31,6 +32,7 @@ function RoleUpStarListPanel:InitComponent()
|
|||
this.ScrollView.moveTween.Strength = 1
|
||||
|
||||
this.NoneImage= Util.GetGameObject(self.gameObject, "NoneImage")
|
||||
Util.GetGameObject(self.gameObject, "NoneImage/TextImage/Text"):GetComponent("Text").text="无符合要求的英雄!"
|
||||
this.NoneImage.gameObject:SetActive(false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue