-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
25 lines
798 B
Plaintext
25 lines
798 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: StepSoundsMetal
|
|
m_EditorClassIdentifier: Assembly-CSharp::RR.Game2D.Behaviour.ScriptableObjects.SFXAsset
|
|
soundEffects:
|
|
- sound: {fileID: 8300000, guid: 44081d4997ebc78418c03a0fa021336d, type: 3}
|
|
volume: 1
|
|
pitch: 1
|
|
- sound: {fileID: 8300000, guid: 64a82f6dc3cfec746bcc23ded9a926ee, type: 3}
|
|
volume: 1
|
|
pitch: 1
|
|
- sound: {fileID: 8300000, guid: 6aedae21e708ea448b1ed0468415c094, type: 3}
|
|
volume: 1
|
|
pitch: 1
|