【跳过战斗优化】主线战斗中的BOSS关卡,改为不允许跳过 2
parent
3686c2a75f
commit
c4865509b3
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue