# Friend Group

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](https://kb.heathen.group/old-kb/where-to-buy/become-a-sponsor) ... become a sponsor today!
{% endhint %}

## &#x20;Introduction

![](https://4053370152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZWu8yFOWhCYCMkJFmR%2Fuploads%2F0uoxji0lQKrITpUNQ6so%2Fimage.png?alt=media\&token=fb6e3d21-764b-4cbe-a5e4-e2e460bccfd1)

This is used by the [FriendGroups ](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/ui-components/friend-groups-display)component when instantiating groups in the list. The FriendGroup is responsible for instantiating each user record within it and maintaining that information.

## Inspector Fields

### Label

A Text element which will be the name of the group

### Counter

A Text element which will display the number of members in this group

### Toggle

A Toggle element used to expand or collapse this group

### Record Template

A GameObject that will be instantiated for each member in this group and parented to the "Content" reference. This must implement a component which implements the [IUserProfile ](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/programming-tools/iuserprofile)interface.
