private void Update() { if (mInstancedMesh == null && asset != null) { mInstancedMesh = SteamAudioManager.LoadDynamicObject(this, SteamAudioManager.CurrentScene, SteamAudioManager.Context); if (enabled) { mInstancedMesh.AddToScene(SteamAudioManager.CurrentScene); } } mInstancedMesh.UpdateTransform(SteamAudioManager.CurrentScene, transform); }