Пример #1
0
    //add each person to a button in a list
    public void PopulateList()
    {
        GenerateContacts gC = GetComponent <GenerateContacts>();

        gC.AddContacts();
        foreach (KeyValuePair <string, ContactInfo> entry in gC.contacts)
        {
            GetContact(entry.Key, gC.contacts);//add each contact to list
        }
    }