红点修改提交
parent
662a760eaf
commit
bc4af2601b
|
@ -5,7 +5,7 @@ local rewardList = {}
|
||||||
--初始化
|
--初始化
|
||||||
function this.Initialize()
|
function this.Initialize()
|
||||||
Game.GlobalEvent:AddEvent(GameEvent.Activity.OnActivityOpenOrClose,this.RefreshData)
|
Game.GlobalEvent:AddEvent(GameEvent.Activity.OnActivityOpenOrClose,this.RefreshData)
|
||||||
Game.GlobalEvent:AddEvent(GameEvent.Bag.BagGold,this.CheckRedPointLingLong)
|
Game.GlobalEvent:AddEvent(GameEvent.Bag.BagGold,function()CheckRedPointStatus(RedPointType.linglongBaojing)end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.RefreshData()
|
function this.RefreshData()
|
||||||
|
|
|
@ -132,7 +132,7 @@ function LingLongBaoJingPanel:BindEvent()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
drop = _drop
|
drop = _drop
|
||||||
LingLongBaoJingManager.CheckRedPointLingLong()
|
CheckRedPointStatus(RedPointType.linglongBaojing)
|
||||||
self:DelayMaskWithBool(true)
|
self:DelayMaskWithBool(true)
|
||||||
self.fx_linglongbaojing_kaiqi.gameObject:SetActive(true)
|
self.fx_linglongbaojing_kaiqi.gameObject:SetActive(true)
|
||||||
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_kaiqi_002)
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_kaiqi_002)
|
||||||
|
|
Loading…
Reference in New Issue