mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkServerTest: UpdateTransport helper function
This commit is contained in:
parent
e942062c79
commit
2d24dfefbe
@ -107,6 +107,13 @@ public void TearDown()
|
||||
Transport.activeTransport = null;
|
||||
}
|
||||
|
||||
// helper function to update the transport and process all messages
|
||||
public void UpdateTransport()
|
||||
{
|
||||
transport.ClientEarlyUpdate();
|
||||
transport.ServerEarlyUpdate();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void IsActiveTest()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user