You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in the Update() of SteamAudioSource the parameters are updated every frame regardless of whether there was a change to them. The individual cost is minuscule but with enough sources in the scene it can add up
Is there a reason that the params are being updated like this every frame or would it be okay to refactor the code so that the params are only updated when dirty ?
The text was updated successfully, but these errors were encountered:
I noticed that in the
Update()
ofSteamAudioSource
the parameters are updated every frame regardless of whether there was a change to them. The individual cost is minuscule but with enough sources in the scene it can add upIs there a reason that the params are being updated like this every frame or would it be okay to refactor the code so that the params are only updated when dirty ?
The text was updated successfully, but these errors were encountered: