ValveSoftware / steam-audio

Steam Audio
https://valvesoftware.github.io/steam-audio/
Apache License 2.0
2.27k stars 158 forks source link

[Unity] SteamAudioSource optimized to take the SteamAudioSettings singleton only once #284

Closed Neliott closed 11 months ago

Neliott commented 11 months ago

I've added a reference to SteamAudioSettings so that the singleton getter isn't unnecessarily used in code running every frame. Here's my profiler showing the problem: SingleTonOptimization