new remix stops playback properly
This commit is contained in:
parent
e5c9d2687b
commit
fd0f5799f7
|
@ -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 New Issue