feat: BGMController独立音频脚本—彻底脱离PageController复杂编辑历史

新增BGMController.cs挂在[Managers]上:
- Awake()中创建AudioSource(spatialBlend=0,vol=0.5)
- AssetDatabase兜底加载_homeBgClip/_experimentBgClip
- 静态方法PlayHomeBg/PlayExperimentBg/StopBgMusic
PageController调用改为BGMController.xxx
This commit is contained in:
yangbear
2026-07-01 22:00:41 +08:00
parent fa380b2ea5
commit e1a9f90d3f
4 changed files with 83 additions and 3 deletions
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d5a0e43c7217447f9b4be5e2434520e4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: