We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb89216 commit 204efc0Copy full SHA for 204efc0
StarEditor/src/Panels/SceneHierarchyPanel.cpp
@@ -659,6 +659,25 @@ namespace StarEngine {
659
audioSource->SetSpatialization(config.Spatialization);
660
}
661
662
+ if (component.AudioSourceData.UsePlaylist)
663
+ {
664
+ // Looping is not available in playlist mode
665
+ bool looping = false;
666
+ audioSource->SetLooping(looping);
667
+ config.Looping = looping;
668
+
669
+ ImGui::BeginDisabled();
670
+ ImGui::Checkbox("Looping", &looping);
671
+ ImGui::EndDisabled();
672
+ }
673
+ else
674
675
+ if (ImGui::Checkbox("Looping", &config.Looping))
676
677
+ audioSource->SetLooping(config.Looping);
678
679
680
681
if (component.AudioSourceData.UsePlaylist)
682
{
683
// Repeat Playlist
0 commit comments