parent
b5b8f79dca
commit
619ce2ea52
Binary file not shown.
|
|
@ -0,0 +1,22 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d7791a87f162eb242b0784399ac12f56
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 6
|
||||
defaultSettings:
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 1
|
||||
conversionMode: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
preloadAudioData: 1
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,22 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6c95bc9b7c12ef249bee45b1c4a4ad7f
|
||||
AudioImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 6
|
||||
defaultSettings:
|
||||
loadType: 0
|
||||
sampleRateSetting: 0
|
||||
sampleRateOverride: 44100
|
||||
compressionFormat: 1
|
||||
quality: 1
|
||||
conversionMode: 0
|
||||
platformSettingOverrides: {}
|
||||
forceToMono: 0
|
||||
normalize: 1
|
||||
preloadAudioData: 1
|
||||
loadInBackground: 0
|
||||
ambisonic: 0
|
||||
3D: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -78,4 +78,8 @@ SoundConfig = {
|
|||
Ambient_Carbon = "Amb_02",
|
||||
Ambient_Login = "Amb_03",
|
||||
Sound_UnlockLevel ="UI_UnlockLevel_01",
|
||||
|
||||
|
||||
Sound_UI_TiShi = "UI_tishi",
|
||||
Sound_UI_ShaiZi = "UI_shaizi",
|
||||
}
|
||||
|
|
@ -200,6 +200,8 @@ end
|
|||
function this.PlaySaiziAnim(_data)
|
||||
this.startBtn:GetComponent("Button").enabled=false
|
||||
Log("当前骰子数:"..#_data.pointes)
|
||||
-- 骰子音效
|
||||
SoundManager.PlaySound(SoundConfig.Sound_UI_ShaiZi)
|
||||
if #_data.pointes>1 then
|
||||
this.twoSaiZiEffect:SetActive(true)
|
||||
else
|
||||
|
|
@ -322,7 +324,11 @@ function this.EventTrigger(_data)
|
|||
this.SetEventBtn(_data)
|
||||
elseif _data.pathType==7 then --终极大奖
|
||||
UIManager.OpenPanel(UIName.XiaoYaoEventPanel,0,_data.drop)
|
||||
end
|
||||
end
|
||||
-- 除普通节点都播放提示音
|
||||
if _data.pathType ~= 0 then
|
||||
SoundManager.PlaySound(SoundConfig.Sound_UI_TiShi)
|
||||
end
|
||||
if _data.drop.itemlist and #_data.drop.itemlist > 0 and _data.pathType~=7 then
|
||||
local content = {}
|
||||
for i = 1, #_data.drop.itemlist do
|
||||
|
|
|
|||
Loading…
Reference in New Issue