I think I can help you with this
/// <summary>
/// Update channel list (call it on anywhere you want)
/// </summary>
public void _RefreshChannels ()
{
TNManager.GetChannelList(_CallOnChannelList);
}
/// <summary>
/// Channels list
/// </summary>
void _CallOnChannelList (TNet.List<Channel.Info> chList)
{
for (int x = 0; x < chList.size; x++)
{
//You can get more data besides ID
Debug.Log("ID: " + chList[x].id);
}
}
Don't forget to add "using TNet;" at the top of your script.