Skip to content

Commit 07cfb79

Browse files
renaming
1 parent bce3f8a commit 07cfb79

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Packages/com.unity.multiplayer.samples.coop/Utilities/Testing/TestUtilities.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static IEnumerator AssertIsSceneLoaded(string sceneName)
4444

4545
yield return waitUntilSceneLoaded;
4646

47-
Assert.That(!waitUntilSceneLoaded.timedOut);
47+
Assert.That(!waitUntilSceneLoaded.TimedOut);
4848
}
4949

5050
/// <summary>
@@ -62,7 +62,7 @@ public static IEnumerator AssertIsNetworkSceneLoaded(string sceneName, NetworkSc
6262

6363
yield return waitForNetworkSceneLoad;
6464

65-
Assert.That(!waitForNetworkSceneLoad.timedOut);
65+
Assert.That(!waitForNetworkSceneLoad.TimedOut);
6666
}
6767

6868
/// <summary>
@@ -77,7 +77,7 @@ class WaitForSceneLoad : CustomYieldInstruction
7777

7878
float m_MaxLoadDuration;
7979

80-
public bool timedOut { get; private set; }
80+
public bool TimedOut { get; private set; }
8181

8282
public override bool keepWaiting
8383
{
@@ -89,10 +89,10 @@ public override bool keepWaiting
8989

9090
if (Time.time - m_LoadSceneStart >= m_MaxLoadDuration)
9191
{
92-
timedOut = true;
92+
TimedOut = true;
9393
}
9494

95-
return !isSceneLoaded && !timedOut;
95+
return !isSceneLoaded && !TimedOut;
9696
}
9797
}
9898

@@ -120,20 +120,20 @@ class WaitForNetworkSceneLoad : CustomYieldInstruction
120120

121121
NetworkSceneManager m_NetworkSceneManager;
122122

123-
public bool timedOut { get; private set; }
123+
public bool TimedOut { get; private set; }
124124

125125
public override bool keepWaiting
126126
{
127127
get
128128
{
129129
if (Time.time - m_LoadSceneStart >= m_MaxLoadDuration)
130130
{
131-
timedOut = true;
131+
TimedOut = true;
132132

133133
m_NetworkSceneManager.OnSceneEvent -= ConfirmSceneLoad;
134134
}
135135

136-
return !m_IsNetworkSceneLoaded && !timedOut;
136+
return !m_IsNetworkSceneLoaded && !TimedOut;
137137
}
138138
}
139139

0 commit comments

Comments
 (0)