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