public void AddNote() { string guid = Guid.NewGuid().ToString(); AddNote(guid, guid, guid); udp.BroadThread(System.Text.Encoding.Default.GetBytes("C|" + guid + "|" + guid + "|" + guid)); }
public void OnContentChange() { Debug.Log("NoteContent.OnContentChange : " + inputField.text); if (note != null) { note.Content = inputField.text; udp.BroadThread(System.Text.Encoding.Default.GetBytes("U|" + note.Guid + "|" + note.Name + "|" + note.Content)); } }