how to put mirror unity online code example
Example: how to use mirror for unity
NetworkServer.ReplacePlayerForConnection(conn, gameplayerInstance.gameObject);
NetworkServer.ReplacePlayerForConnection(conn, gameplayerInstance.gameObject);