战斗跳过按钮
parent
055c5f6926
commit
f9ecb13bd3
|
@ -279,7 +279,7 @@ function this.InitOption()
|
|||
|
||||
this.Option:SetActive(true)
|
||||
Util.GetGameObject(this.BtnTimeScale, "lock"):SetActive(not BattleManager.IsUnlockBattleSpeed())
|
||||
local IsUnLockBattlePass = BattleManager.IsUnlockBattlePass() or AppConst.isOpenGM
|
||||
local IsUnLockBattlePass = BattleManager.IsUnlockBattlePass() --or AppConst.isOpenGM
|
||||
Util.GetGameObject(this.BtnExit, "lock"):SetActive(not IsUnLockBattlePass)
|
||||
Util.GetGameObject(this.BtnGM, "lock"):SetActive(not IsUnLockBattlePass)
|
||||
this.BtnGM:GetComponent("Button").interactable = IsUnLockBattlePass
|
||||
|
|
Loading…
Reference in New Issue