public void Initialize(NotePreset preset, Action <NotePreset> clickAction = null) { _ClickAction = null; _Icon.sprite = preset.NoteIcon; _MessageLabel.text = preset.Title; _StoredPreset = preset; _ClickAction += clickAction; }
private void DisplayNote(NotePreset notePreset) { _NoteTitle.text = notePreset.Title; _NoteMessage.text = notePreset.Message; }