コード例 #1
0
ファイル: NoteCreator.cs プロジェクト: CamiTori/Catneep
        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);
        }