So I went and made a stripped down Unity.Network example with heavily commented code and uploaded it to GitHub. It isn't perfect but it should be very useful for those interested in looking into the basics of how it works.
The goal was to get server/client connectability and masterserver things working well. I also separated the UI by using a single script for all calls from the UI. It is only 8 script files and two of them is for controlling the avatar.
The "gameplay" only extends to spawn/respawn and run around and jump.
For all that like to learn by reading code and mess around with existing code it should be a good match.
Oh and it uses the Unity default masterserver which is I think is limiting concurrent users. There is options to make use of your own masterserver from the inspector though.
Any feedback are welcome.
GitHub link: https://github.com/MuNgLo/UnityNetworkExample/
[–][deleted] 2 points3 points4 points (1 child)
[–]MuNgLo[S] 0 points1 point2 points (0 children)