Pārlūkot izejas kodu

Updated comment.

Lasse Öörni 12 gadi atpakaļ
vecāks
revīzija
868b9bdcd2
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Bin/Data/Scripts/Editor/EditorScene.as

+ 2 - 2
Bin/Data/Scripts/Editor/EditorScene.as

@@ -343,8 +343,8 @@ void StopSceneUpdate()
 bool ToggleSceneUpdate()
 bool ToggleSceneUpdate()
 {
 {
     runUpdate = !runUpdate;
     runUpdate = !runUpdate;
-    // Run audio playback only when scene is updating, to allow editing SoundSources without the play position changing
-    // or onestop sounds losing their assigned sound resource after playing once
+    // Run audio playback only when scene is updating, so that audio components' time-dependent attributes stay constant when
+    // paused (similar to physics)
     if (runUpdate)
     if (runUpdate)
         audio.Play();
         audio.Play();
     else
     else