Skip to content

Commit 859d88c

Browse files
style
Just added some additional comments.
1 parent 4b40c04 commit 859d88c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/NetworkVariableTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public static void ClientNetworkVariableTestSpawned(NetworkVariableTest networkV
8585

8686
private const float k_TimeOutWaitPeriod = 2.0f;
8787
private static float s_TimeOutPeriod;
88+
8889
/// <summary>
8990
/// This will simply advance the timeout period
9091
/// Note: When ClientSideNotifyObjectSpawned is invoked this will get
@@ -125,6 +126,10 @@ public override IEnumerator Setup()
125126
yield return base.Setup();
126127
}
127128

129+
/// <summary>
130+
/// This is an adjustment to how the server and clients are started in order
131+
/// to avoid timing issues when running in a stand alone test runner build.
132+
/// </summary>
128133
private IEnumerator InitializeServerAndClients(bool useHost)
129134
{
130135
s_ClientNetworkVariableTestInstances.Clear();

0 commit comments

Comments
 (0)