mirror unity documentation code example
Example 1: unity mirror
using Mirror;
Example 2: how to use mirror for unity
NetworkServer.ReplacePlayerForConnection(conn, gameplayerInstance.gameObject);
using Mirror;
NetworkServer.ReplacePlayerForConnection(conn, gameplayerInstance.gameObject);