Mania Editor Sample
Loads all the notes from a Song and gives an interface to modify them.
Last updated
Loads all the notes from a Song and gives an interface to modify them.
Last updated
ManiaEditor GameObject contains two main scripts:
ManiaEditor.cs handles most of the logic behind the editor: creating beat visuals, loading notes, creating new notes, deleting existing notes, pausing, unpausing and scrolling time.
ManiaEditor.cs also makes use of a static script ManiaEditorSongSaver.cs to save the song to the Assets.
ManiaNotePlacer.cs figures out which beat your mouse was on when you right click and then uses ManiaEditor to actually toggle the note on that beat.
ManiaEditorTimer.cs is just a simple script that gets the current time and shows it on an UI text.