Added New (CTRL+N) Button

Allows you to call GameManager.LoadRemix("") to initialize a blank remix at bpm 120. The New button (or CTRL+N) calls Editor.NewRemix();
This commit is contained in:
Carson Kompon
2022-02-25 22:41:32 -05:00
parent 37a2ed24c7
commit 027a6cddbe
3 changed files with 38 additions and 6 deletions

View File

@ -319,6 +319,14 @@ namespace RhythmHeavenMania.Editor
}
}
public void NewRemix()
{
GameManager.instance.LoadRemix("");
Timeline.instance.LoadRemix();
Timeline.instance.TempoInfo.UpdateStartingBPMText();
Timeline.instance.TempoInfo.UpdateOffsetText();
}
public void OpenRemix()
{
var extensions = new[]