mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
new remix stops playback properly
This commit is contained in:
parent
e5c9d2687b
commit
fd0f5799f7
1 changed files with 4 additions and 0 deletions
|
@ -397,6 +397,10 @@ namespace HeavenStudio.Editor
|
||||||
|
|
||||||
public void NewRemix()
|
public void NewRemix()
|
||||||
{
|
{
|
||||||
|
if (Timeline.instance != null)
|
||||||
|
Timeline.instance?.Stop(0);
|
||||||
|
else
|
||||||
|
GameManager.instance.Stop(0);
|
||||||
MusicBytes = null;
|
MusicBytes = null;
|
||||||
LoadRemix("");
|
LoadRemix("");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue