【山河社稷图】提交

dev_chengFeng
zhangqiang 2021-05-17 11:15:43 +08:00
parent e763e54799
commit 8e428148c4
3 changed files with 6198 additions and 6342 deletions

View File

@ -274,9 +274,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 476.11664, y: -45.050003}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8764021292826640633
@ -839,7 +839,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &3458295202399734364
RectTransform:
m_ObjectHideFlags: 0
@ -1185,7 +1185,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -1367, y: 99.525}
m_SizeDelta: {x: 180, y: 200}
m_SizeDelta: {x: 120, y: 120}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4653628614703019783
CanvasRenderer:
@ -1372,9 +1372,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 751.24994, y: -45.050003}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5725273977751880029
@ -3117,9 +3117,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 200.98334, y: -45.050003}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5108727623760178301

View File

@ -66,7 +66,8 @@ function this.SingleDataShow(_go,_rewardData,_index)
local reward = RewardGroup[_rewardData].ShowItem
Util.GetGameObject(_go, "titleImage/titleText"):GetComponent("Text").text = index == 0 and "首通奖励" or HardStageCondition[fightLevelData.config.ConditionValue[index]].Describe
Util.GetGameObject(_go, "titleImage/Text"):GetComponent("Text").text = index
Util.GetGameObject(_go, "okButton"):GetComponent("Image").sprite = Util.LoadSprite("s_slbz_yilingqu_zh")
Util.GetGameObject(_go, "okButton"):GetComponent("Image").sprite = Util.LoadSprite("g_ghhb_yidacheng_zh")
Util.GetGameObject(_go, "noButton"):GetComponent("Image").sprite = Util.LoadSprite("g_ghhb_weidacheng_zh")
local noStarImage = Util.GetGameObject(_go, "noStarImage")
local getStarImage = Util.GetGameObject(_go, "getStarImage")
noStarImage:SetActive(not FightLevelManager.GetCurLevelStarState(fightLevelData.state,index) and index ~= 0)
@ -91,7 +92,6 @@ function this.SingleDataShow(_go,_rewardData,_index)
local noButton = Util.GetGameObject(_go.gameObject, "noButton")
local okButton = Util.GetGameObject(_go.gameObject, "okButton")
Util.GetGameObject(noButton, "Text"):GetComponent("Text").text = "未达成"
noButton:SetActive(not FightLevelManager.GetCurLevelStarState(fightLevelData.state,index))
okButton:SetActive(FightLevelManager.GetCurLevelStarState(fightLevelData.state,index))
if index == 0 then--首通