Author Topic: Tnet 3.0 Need Network Lobby  (Read 1052 times)

DioAlias

  • Jr. Member
  • **
  • Thank You
  • -Given: 60
  • -Receive: 1
  • Posts: 62
    • View Profile
Tnet 3.0 Need Network Lobby
« on: May 15, 2016, 04:59:35 AM »
there asset Network Lobby by Unity Technologies: https://www.assetstore.unity3d.com/en/#!/content/41836

–°an you make a similar example on TNet?
 
because it would help to understand for beginners with this Network Solution(would have ceased to exist many questions) and would have attracted a lot of users.

I think you solution VERY COOL, but hard to start make Lobby menu using UI:( - just needed example of creating Lobby system with player list and list of channels.
standard Examples in Net 3.0 does not help to make the Lobby menu with player List and creating/joining Room from other players:( - hard to start if you not good programmer:(

But perhaps I'm asking too much, then just ignore my message:)



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,151
  • Toronto, Canada
    • View Profile
Re: Tnet 3.0 Need Network Lobby
« Reply #1 on: May 15, 2016, 07:26:59 AM »
TNet comes with a LAN server discovery example. Once you connect to the server you can use
  1. TNManager.GetChannelList(delegate (List<Channel.Info> list)
  2. {
  3.     foreach (var channel in list)
  4.     {
  5.         // Do whatever you need to do with the data
  6.         Debug.Log(channel.id + ": " + channel.players + ", " + channel.level);
  7.     }
  8. });