/// <summary> /// Delete selected note /// </summary> /// <param name="selectedNotesHolder"></param> public void DeleteNote(NotesHolder selectedNotesHolder) { GameDataController.DeleteNote(selectedNotesHolder); Destroy(selectedNotesHolder.gameObject); }