mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
RemoteTestBase: reuse ConnectHostClientBlockingAuthenticatedAndReady
This commit is contained in:
parent
964188868d
commit
664f21ba45
@ -9,13 +9,7 @@ public void Setup()
|
||||
{
|
||||
// start server/client
|
||||
NetworkServer.Listen(1);
|
||||
NetworkClient.ConnectHost();
|
||||
NetworkServer.SpawnObjects();
|
||||
NetworkServer.ActivateHostScene();
|
||||
NetworkClient.ConnectLocalServer();
|
||||
NetworkServer.localConnection.isAuthenticated = true;
|
||||
NetworkClient.connection.isAuthenticated = true;
|
||||
NetworkClient.Ready();
|
||||
ConnectHostClientBlockingAuthenticatedAndReady();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user