Esempio n. 1
0
        /// <summary>
        /// Pauses editor.
        /// </summary>
        public void Pause()
        {
            playing = false;

            active = EditorJudgement.GetLeftClosestIndex(judgements.GetAllJudgements(), audio.time);
            audio.Pause();
        }
Esempio n. 2
0
        void Save()
        {
            if (fileName.text.Length == 0)
            {
                return;
            }
            string file = fileName.text;

            Map temp = info.GetMapInfo();

            temp.timings = judgements.GetAllJudgements();

            // change boolean based on final needs
            // probably use try catch later
            SaveLoad.SaveMap(temp, file, false);

            system.SetEvent(Event.Main);
            Destroy(this.gameObject);
        }