public void Initialize(ContactModel contact, MenuContacts menuContactsScript) { this.Contact = contact; MenuContactsScript = menuContactsScript; GetComponentInChildren <Text>().text = contact.GetFullName(); }
public override void OnClick() { Debug.Log("TODO: open new menu for editing contacts. Got contact: " + Contact.GetFullName()); }