- New occlusion opt-in on SoundEffect: spatialized instances get a SteamAudioSource with raycast occlusion + frequency-dependent transmission (walls muffle instead of hard-mute) - Replace SoundEffectDistanceRange asset indirection with an explicit _3d bool (user refactor); rolloff/distance now left to defaults - Hey.asset: occlusion enabled Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
28 lines
798 B
Plaintext
28 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: d395190edf0c4124382f84bc10ba3b22, type: 3}
|
|
m_Name: Hey
|
|
m_EditorClassIdentifier: Assembly-CSharp::Prototype.SoundEffect
|
|
volumeMultiplier: {x: 1, y: 1}
|
|
pitch: {x: 0.95, y: 1.05}
|
|
audioMixerGroup: {fileID: 24300002, guid: 4c2f5be6ec68f3e4aa5ef0471d7f2e22, type: 2}
|
|
volumeMultiplierFactor: 1
|
|
loop: 0
|
|
_3d: 1
|
|
spatialize: 1
|
|
occlusion: 1
|
|
defaultVolume: 0.8
|
|
additionalGain: 0
|
|
maxPlayInterval: 0
|
|
clips:
|
|
- {fileID: 8300000, guid: 64d317c5982234b4b92a2afac42f4b36, type: 3}
|