-Add LevelSpecificPlayerSFX prefabs for levels 1-1 and 1-2 -Configure checkpoints to activate sound effects, including pitch, volume, and audio editing -Rename the checkpoint effect object to Checkpoint VFX -Update the audio manager, the default value of the music target volume is 0.2 -Add SoundEffect structure to support sound parameter configuration -Optimize audio source creation and crossfade logic -Remove the old music control components and use the new audio management method
31 lines
1013 B
Plaintext
31 lines
1013 B
Plaintext
%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: 8b7a812250cb02a439b8c382ae42dd27, type: 3}
|
|
m_Name: CrabHurtSounds
|
|
m_EditorClassIdentifier: Assembly-CSharp::RR.Game2D.Behaviour.ScriptableObjects.SFXAsset
|
|
soundEffects:
|
|
- sound: {fileID: 8300000, guid: aeba847740e70ba46b7d3df9513316e1, type: 3}
|
|
volume: 1
|
|
pitch: 1
|
|
- sound: {fileID: 8300000, guid: aeba847740e70ba46b7d3df9513316e1, type: 3}
|
|
volume: 1
|
|
pitch: 2
|
|
- sound: {fileID: 8300000, guid: aeba847740e70ba46b7d3df9513316e1, type: 3}
|
|
volume: 1
|
|
pitch: 0.5
|
|
- sound: {fileID: 8300000, guid: aeba847740e70ba46b7d3df9513316e1, type: 3}
|
|
volume: 1
|
|
pitch: 0.8
|
|
- sound: {fileID: 8300000, guid: aeba847740e70ba46b7d3df9513316e1, type: 3}
|
|
volume: 1
|
|
pitch: 1.2
|