public void Show(bool value) { notes_panel.SetActive(value); if (value) { // reset the notes and stuff StartCoroutine(bubbleNotes(0.05f)); } else { for (int i = 0; i < notes.Count; ++i) { NoteUIManager n = notes[i].transform.GetComponent <NoteUIManager>(); n.ResetImage(); } } }
public void setNote(int note, int pos) { NoteUIManager n = notes[pos].transform.GetComponent <NoteUIManager>(); n.setNote(note); }