【音效修改】
parent
f7e8bd99b6
commit
aca4aa47ac
|
|
@ -84,6 +84,7 @@ end
|
|||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function LingShouBaoGe:OnOpen(_activityConfig,_index,parent)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
||||
self.actConfig = _activityConfig
|
||||
self.pageIndex = _index
|
||||
self.parent = parent
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ function QianKunBoxBuyOnePanel:OnSortingOrderChange()
|
|||
end
|
||||
--界面打开时调用(用于子类重写)
|
||||
function QianKunBoxBuyOnePanel:OnOpen(...)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
||||
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.QianKunBox })
|
||||
local args = { ... }
|
||||
this.drop=args[1]
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ function FirstRechargePanel:OnSortingOrderChange()
|
|||
end
|
||||
local fun = nil
|
||||
function FirstRechargePanel:OnOpen(context,_fun)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Hd_swk)
|
||||
context = context and context or {}
|
||||
self.selectTabIndex = context.tabIndex and context.tabIndex or 1
|
||||
-- self:SetOncePart()
|
||||
|
|
@ -138,6 +137,7 @@ function FirstRechargePanel:OnOpen(context,_fun)
|
|||
self.qianyao:SetActive(false)
|
||||
local qyTime = 0
|
||||
if not FirstRechargeManager.GetAnimFlag("FirstRechargeAnim") then
|
||||
SoundManager.PlaySound(SoundConfig.UI_Hd_swk)
|
||||
self.qianyao:SetActive(true)
|
||||
qyTime = 1.5
|
||||
FirstRechargeManager.SetAnimFlag("FirstRechargeAnim")
|
||||
|
|
|
|||
|
|
@ -187,7 +187,9 @@ end
|
|||
--界面打开时调用(用于子类重写)
|
||||
local fun = nil
|
||||
function SupremeHeroPopup:OnOpen(_fun)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Hd_yhdd)
|
||||
Timer.New(function ()
|
||||
SoundManager.PlaySound(SoundConfig.UI_Hd_yhdd)
|
||||
end,0.5):Start()
|
||||
fun = _fun
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ end
|
|||
function this:BindEvent()
|
||||
local localSelf = self
|
||||
Util.AddOnceClick(self.refreshBtn, function()
|
||||
PlaySoundWithoutClick("UI_refresh")
|
||||
isPlayShow = true
|
||||
local isPopUp = RedPointManager.PlayerPrefsGetStr(PlayerManager.uid .. localSelf.ShopType)
|
||||
local currentTime = os.date("%Y%m%d", PlayerManager.serverTime)
|
||||
|
|
@ -198,6 +197,9 @@ function this:RefreshShopInfo(isRefresh, isTop,isAni)
|
|||
if isRefresh then
|
||||
-- 物品节点播放特效
|
||||
if self._GoodsItemList then
|
||||
Timer.New(function ()
|
||||
PlaySoundWithoutClick("UI_refresh")
|
||||
end,0.5):Start()
|
||||
for _, item in pairs(self._GoodsItemList) do
|
||||
item:OnShowUIeffectItemViewSaoguang()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue