Beispiel #1
0
        public void SaveNotesheet()
        {
            int previousVelocity = GetCurrentVelocityIndex;

            SetVelocityIndex(stopVelocityIndex);

            string path = EditorUtility.SaveFilePanel("Save notesheet", "", "notesheet", NoteInfo.notesheetFileFormat);

            if (!string.IsNullOrEmpty(path))
            {
                NoteInfo.SaveNotesheet(Notes.ToArray(), path);
            }

            SetVelocityIndex(previousVelocity);
        }