feat: AudioSettings 独立出配置文件,而不是零散在代码各处。

This commit is contained in:
2026-05-14 20:22:00 +08:00
parent 892689fed5
commit 6cd802ba3a
13 changed files with 251 additions and 60 deletions
+35
View File
@@ -0,0 +1,35 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 79becf8778e048058fe7cc1f3a5e021b, type: 3}
m_Name: AudioExtendSettings
m_EditorClassIdentifier:
audioConfigPath: AudioData
audioResourcePath: Audios
audioMixerPath: Audios/Master
sfxGroupPath: Master/Regular/SFX
voiceGroupPath: Master/Regular/Voice
accentSfxGroupPath: Master/SFX_Accent
musicGroupPath: Master/Regular/Music
ambienceGroupPath: Master/Regular/SFX/Ambience
lowpassParamName: LowpassFreq
lowpassEnabledCutoff: 440
lowpassDisabledCutoff: 22000
lowpassTweenDuration: 0.2
compressionFormat: 1
sfxSampleRate: 22050
musicSampleRate: 44100
musicQuality: 0.13
sfxQuality: 0.5
decompressThreshold: 5
streamingThreshold: 15
defaultFadeOutEase: 2
defaultFadeInEase: 3
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: de80878c933394e2da0966a1466fd793
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: