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