#灵感
音频相关,需求文档链接:
![[Pasted image 20250219100828.png]]
当前三消音效配置:
![[img_v3_02jo_7bb5f5ee-3d7a-4c34-a0e7-37ce35df040h.jpg]]
举例说明:BirdFly也是在这个Sound文件夹的
![[Pasted image 20250227111444.png]]
用的脚本是这个:
![[Pasted image 20250227111518.png]]
对应的脚本名称:SoundConfig
![[Pasted image 20250227112241.png]]
![[Pasted image 20250227100314.png]]
音效的逻辑Item
![[Pasted image 20250227100953.png]]
当前音效缓存器:
![[Pasted image 20250227111002.png]]
参考是否启用,加一个布尔判断,是否音频多样本
![[Pasted image 20250227113745.png]]
最基础的按钮点击,使用的音效配置: 音效ID → 20001
![[Pasted image 20250227114104.png]]
对应的声音配置名称:UIClick
![[Pasted image 20250227114306.png]]
![[Pasted image 20250227114335.png]]
![[Pasted image 20250227114347.png]]
打包构建Build里面,音效相关的
![[Pasted image 20250227114654.png]]
对应配置的 构建组Group
![[Pasted image 20250227114741.png]]
所在文件夹路径:
![[Pasted image 20250227114826.png]]
音效所在文件夹:
![[Pasted image 20250227115012.png]]
![[Pasted image 20250227115020.png]]