【跳过战斗优化】主线战斗中的BOSS关卡,改为不允许跳过 2

dev_chengFeng
zhangqiang 2021-05-18 16:41:48 +08:00
parent 3686c2a75f
commit c4865509b3
1 changed files with 1 additions and 4 deletions

View File

@ -412,11 +412,8 @@ function this.InitOption()
Util.GetGameObject(this.BtnGM, "lock"):SetActive(not IsUnLockBattlePass)
this.BtnGM:GetComponent("Button").interactable = IsUnLockBattlePass
end
Util.SetGray(this.BtnGM,false)
if fightType == BATTLE_TYPE.STORY_FIGHT and IsUnLockBattlePass then--关卡特殊判断 首领阶段不能跳过按钮 置灰 提示 首领关卡不允许跳过!
if FightPointPassManager.GetCurOpenFightIdIsBoss() then
Util.SetGray(this.BtnGM,true)
end
Util.GetGameObject(this.BtnGM, "lock"):SetActive(FightPointPassManager.GetCurOpenFightIdIsBoss())
end