山河社稷图引导卡死修改
parent
947a4fa368
commit
250683a822
|
@ -66,7 +66,16 @@ function this.SingleDataShow(_go,_rewardData,_index)
|
|||
local index = _index - 1
|
||||
local reward = RewardGroup[_rewardData].ShowItem
|
||||
local condition = fightLevelData.config.ConditionValue or {}
|
||||
local des = condition and HardStageCondition[condition[index]].Describe or ""
|
||||
local des = ""
|
||||
if index == 0 then
|
||||
des = HardStageCondition[100].Describe
|
||||
else
|
||||
if condition and condition[index] and HardStageCondition[condition[index]] then
|
||||
des = HardStageCondition[condition[index]].Describe
|
||||
else
|
||||
des = ""
|
||||
end
|
||||
end
|
||||
Util.GetGameObject(_go, "titleImage/titleText"):GetComponent("Text").text = index == 0 and "首通奖励" or des
|
||||
Util.GetGameObject(_go, "titleImage/Text"):GetComponent("Text").text = index
|
||||
Util.GetGameObject(_go, "okButton"):GetComponent("Image").sprite = this.spLoader:LoadSprite("g_ghhb_yidacheng_zh")
|
||||
|
|
Loading…
Reference in New Issue