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