
Mirror是Unity 商店的资源:
https://assetstore.unity.com/packages/tools/network/mirror-129321
Mirror是 high level Networking API,建立在 low level 的Telepathy库之上。
Mirror是uMMORPG、vival和Cubica的开发人员为MMO规模的网络而构建和测试的。Mirror使联网变得容易,简洁和可维护。使用少于6000行代码即可实现uMMORPG。我们只需要一个网络库来启动我们的游戏就可以了。
体系结构:
使用Mirror,服务器和客户端是一个项目(因此得名)。我们不再为服务器和客户端分别使用一个代码库,而是为它们使用相同的代码。
* [Server] / [Client]标记可用于仅服务器和仅客户机的部分
* [Command]用于客户机->服务器通信
* [ClientRpc] / [TargetRpc]用于服务器->客户机通信
* [SyncVar]和SyncList用于自动同步状态。
Low Level Transports:
* Telepathy: TCP
* UNET LLAPI: UDP
* Ninja.Websockets: Websockets
* FizzySteamMirror: Steam P2P
* Apathy: Native TCP
* Ignorance: ENET UDP
* LiteNetLib4Mirror: LiteNetLib UDP
下面是使用Mirror做的多人联网游戏
https://youtu.be/d-X-61dxDNs
http://www.populationonevr.com/ POPULATION: ONE – Battle Royale in Virtual Reality
https://youtu.be/TgRHMmCfWHA
https://store.steampowered.com/app/719200/The_Wall/ The Wall – Multiplayer FPS with a giant Wall
https://youtu.be/6FAHm9yzx68
https://store.steampowered.com/app/700330/SCP_Secret_Laboratory/ SCP: Secret Laboratory – Multiplayer horror, based on SCP – Containment Breach
https://youtu.be/D0sZ6-Z0_go
https://www.ostrofa.com/ Ostrofa – Low Poly Island Survival

https://youtu.be/rbLjNZcl4zs
http://samutale.com/ SamuTale – Open World Sandbox Survival MMO
https://youtu.be/D_f_MntrLVE
http://cubica.net/ Cubica – The multiplayer version of Blockstory

https://youtu.be/IlJ2O5n1G2g
https://polyorbit.studio/exoly.html Exoly – Space Adventure Game

https://youtu.be/iYVTgU6_ToM
https://store.steampowered.com/app/535630/ One More Night – Top-Down Survival Game
https://youtu.be/IgRvpq_S4bY
https://nestables.co/ Nestables – a Relaxing Game about Cubes
https://youtu.be/wx3AuXB5rgg
https://naicaonline.com/ Naïca Online – 2D Adventure MMORPG
更多游戏视频请看下期..............................