Esempio n. 1
0
        void AlertIfNoteOverflows(NoteList noteList, IEnumerable <NotePair> pairs)
        {
            var overflowedNoteCount = noteList.Count() - pairs.Count();

            if (overflowedNoteCount > 0)
            {
                EditorUtility.DisplayDialog(overflowedNoteCount + " notes overflowed", overflowedNoteCount + " notes overflowed. Create more NoteViews.", "OK");
            }
        }