打开暴力输出
parent
ead1ba8fd9
commit
028761ebaf
|
@ -387,7 +387,6 @@ function this:InitComponent()
|
|||
this.animRoot = Util.GetGameObject(self.gameObject, "scene")
|
||||
|
||||
this.btnSupreme = Util.GetGameObject(self.gameObject, "RightUp/supreme")
|
||||
this.btnSupreme:SetActive(false)
|
||||
this.supremeRedPoint = Util.GetGameObject(this.btnSupreme, "redPoint")
|
||||
this.supremeTime = Util.GetGameObject(this.btnSupreme, "time"):GetComponent("Text")
|
||||
|
||||
|
@ -1272,8 +1271,7 @@ function this.TimeFormat()
|
|||
if endTime - PlayerManager.serverTime > 0 then
|
||||
-- 第一次解锁
|
||||
if supremHadSet then
|
||||
--this.btnSupreme:SetActive(true)
|
||||
this.btnSupreme:SetActive(false)
|
||||
this.btnSupreme:SetActive(true)
|
||||
end
|
||||
this.supremeTime.text = TimeToHMS((endTime - PlayerManager.serverTime))
|
||||
supremHadSet = false
|
||||
|
@ -1468,7 +1466,7 @@ function this.RefreshActivityBtn(context)
|
|||
-- end
|
||||
elseif context.type == ActivityTypeDef.SupremeHero then
|
||||
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) then
|
||||
this.btnSupreme:SetActive(false)--ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) > 0 and ActivityGiftManager.GetRewardState(42)~=3)
|
||||
this.btnSupreme:SetActive(ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) > 0 and ActivityGiftManager.GetRewardState(42)~=3)
|
||||
end
|
||||
elseif context.type==ActivityTypeDef.FindFairy then
|
||||
this.findFairyBtn:SetActive(false)--not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FindFairy))
|
||||
|
|
Loading…
Reference in New Issue