心魔试炼关卡显示修改 同步常规
parent
593d12de68
commit
61a7e6f224
|
|
@ -199,7 +199,8 @@ function this.InitMonsterShow()
|
||||||
this.singledataList[monsterInfo[index].wave] = tempData
|
this.singledataList[monsterInfo[index].wave] = tempData
|
||||||
--this.singlePreList[go] = this.singledataList[monsterInfo[index].wave]
|
--this.singlePreList[go] = this.singledataList[monsterInfo[index].wave]
|
||||||
end,true,true)
|
end,true,true)
|
||||||
this.scrollView:SetIndex(#monsterInfo - curwaves - 1)
|
--this.scrollView:SetIndex(#monsterInfo - curwaves - 1)
|
||||||
|
this.scrollView:SetIndex(10)
|
||||||
-- if MonsterCampManager.CurOffsetIndex < 0 then
|
-- if MonsterCampManager.CurOffsetIndex < 0 then
|
||||||
-- this.scrollView:SetIndex((#monsterInfo-trailData.monsterWave-2))
|
-- this.scrollView:SetIndex((#monsterInfo-trailData.monsterWave-2))
|
||||||
-- else
|
-- else
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,9 @@ function this.InitMonsterShow()
|
||||||
local tempData = this.SingleDataShow(go, monsterInfo[index])
|
local tempData = this.SingleDataShow(go, monsterInfo[index])
|
||||||
this.singledataList[monsterInfo[index].Id] = tempData
|
this.singledataList[monsterInfo[index].Id] = tempData
|
||||||
end,true,true)
|
end,true,true)
|
||||||
this.scrollView:SetIndex(#monsterInfo - MonsterCampManager.monsterWave - 1)
|
LogError("#monsterInfo=="..#monsterInfo.." MonsterCampManager.monsterWave=="..MonsterCampManager.monsterWave)
|
||||||
|
--this.scrollView:SetIndex(#monsterInfo - MonsterCampManager.monsterWave - 1)
|
||||||
|
this.scrollView:SetIndex(10)
|
||||||
end
|
end
|
||||||
|
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ function RewardItemPopup:OnOpen(...)
|
||||||
--self:ClosePanel()
|
--self:ClosePanel()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
this.rewardBG:SetActive(#drop.itemlist>0)
|
this.rewardBG:SetActive(drop and #drop.itemlist>0)
|
||||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||||
this.btnResult:SetActive(haveRecord and args[5])
|
this.btnResult:SetActive(haveRecord and args[5])
|
||||||
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and not GuideManager.IsInMainGuide() and not MapManager.Mapping and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.TASUILINGXIAO)
|
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and not GuideManager.IsInMainGuide() and not MapManager.Mapping and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.TASUILINGXIAO)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue