-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
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
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: StepSoundsGrass
|
|
m_EditorClassIdentifier: Assembly-CSharp::RR.Game2D.Behaviour.ScriptableObjects.SFXAsset
|
|
soundEffects:
|
|
- sound: {fileID: 8300000, guid: 144cba17f4a47274d834d5e1fc28acb9, type: 3}
|
|
volume: 1
|
|
pitch: 1
|
|
- sound: {fileID: 8300000, guid: 5f68c3b1c31c833458e189d0b7d622dd, type: 3}
|
|
volume: 1
|
|
pitch: 1
|
|
- sound: {fileID: 8300000, guid: 144cba17f4a47274d834d5e1fc28acb9, type: 3}
|
|
volume: 1
|
|
pitch: 1.05
|
|
- sound: {fileID: 8300000, guid: 5f68c3b1c31c833458e189d0b7d622dd, type: 3}
|
|
volume: 1
|
|
pitch: 1.05
|
|
- sound: {fileID: 8300000, guid: 144cba17f4a47274d834d5e1fc28acb9, type: 3}
|
|
volume: 1
|
|
pitch: 0.95
|
|
- sound: {fileID: 8300000, guid: 5f68c3b1c31c833458e189d0b7d622dd, type: 3}
|
|
volume: 1
|
|
pitch: 0.95
|