Skip to content

Commit

Permalink
Fix FMOD events on scene change (#55)
Browse files Browse the repository at this point in the history
* End muffle effect on scene change

* Fix: Laser hum is sometimes audible after scene change
  • Loading branch information
12joan authored Sep 12, 2024
1 parent d861a31 commit 06ab052
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Unity/Prefabs/Scene Essentials.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MonoBehaviour:
Path: snapshot:/Muffle
Event:
PlayEvent: 0
StopEvent: 0
StopEvent: 2
AllowFadeout: 1
TriggerOnce: 0
Preload: 0
Expand Down Expand Up @@ -387,7 +387,7 @@ MonoBehaviour:
Path: snapshot:/During dialogue
Event:
PlayEvent: 0
StopEvent: 0
StopEvent: 2
AllowFadeout: 1
TriggerOnce: 0
Preload: 0
Expand Down
10 changes: 10 additions & 0 deletions Assets/Unity/Prefabs/Training Game/Laser Hum.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ PrefabInstance:
propertyPath: PlayOnStart
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3895571317138567579, guid: d44c370bc297b42ecb0bac5ebaf34dc8,
type: 3}
propertyPath: StopEvent
value: 2
objectReference: {fileID: 0}
- target: {fileID: 3895571317138567579, guid: d44c370bc297b42ecb0bac5ebaf34dc8,
type: 3}
propertyPath: EventReference.Path
Expand All @@ -105,6 +110,11 @@ PrefabInstance:
propertyPath: OverrideMaxDistance
value: 20
objectReference: {fileID: 0}
- target: {fileID: 3895571317138567579, guid: d44c370bc297b42ecb0bac5ebaf34dc8,
type: 3}
propertyPath: OverrideMinDistance
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3895571317138567579, guid: d44c370bc297b42ecb0bac5ebaf34dc8,
type: 3}
propertyPath: EventReference.Guid.Data1
Expand Down

0 comments on commit 06ab052

Please sign in to comment.