ChatBoxJoinInviteButton
This is meant to be placed on a dynamic button that a client can click and it will make them request to register with a target channel id, based on the information stored in this script. The information that is placed into this script should be done by the thing making this list.
Public Functions
| Function | Description |
|---|---|
| SetData(int channelID, string channelName) | Updates the Text component of the button to display channelName and saves the channelID for later use when the player presses the button. This channelID is what is used to call RegisterWithChannel on the ChatBox when this button is pressed. |