@@ -1939,7 +1939,7 @@ protected IEnumerator WaitForConditionOrTimeOut(Func<StringBuilder, bool> checkF
19391939 /// This overload allows the condition to provide additional error details via a <see cref="StringBuilder"/>.
19401940 /// </summary>
19411941 /// <param name="checkForCondition">A delegate that takes a <see cref="StringBuilder"/> for error details and returns true when the desired condition is met.</param>
1942- /// <param name="timeOutHelper">An optional <see cref="TimeoutHelper"/> to control the timeout period. If null, the default timeout is used .</param>
1942+ /// <param name="maxTries">the maximum times to check for the condition ( default is 60) .</param>
19431943 /// <returns>An <see cref="IEnumerator"/> for use in Unity coroutines.</returns>
19441944 protected void WaitForConditionOrTimeOutWithTimeTravel ( Func < StringBuilder , bool > checkForCondition , int maxTries = 60 )
19451945 {
@@ -2030,7 +2030,7 @@ bool ValidateObjectsSpawnedOnAllClients(StringBuilder errorLog)
20302030 /// Waits until the given NetworkObject is spawned on all clients or a timeout occurs.
20312031 /// </summary>
20322032 /// <param name="networkObjectId">The id of the<see cref="NetworkObject"/> to wait for.</param>
2033- /// <param name="timeOutHelper">An optional <see cref="TimeoutHelper"/> to control the timeout period. If null, the default timeout is used .</param>
2033+ /// <param name="maxTries">the maximum times to check for the condition ( default is 60) .</param>
20342034 /// <returns>An <see cref="IEnumerator"/> for use in Unity coroutines.</returns>
20352035 protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel ( ulong networkObjectId , int maxTries = 60 )
20362036 {
@@ -2054,7 +2054,7 @@ bool ValidateObjectSpawnedOnAllClients(StringBuilder errorLog)
20542054 /// Waits until the given NetworkObject is spawned on all clients or a timeout occurs.
20552055 /// </summary>
20562056 /// <param name="networkObject">The <see cref="NetworkObject"/> to wait for.</param>
2057- /// <param name="timeOutHelper">An optional <see cref="TimeoutHelper"/> to control the timeout period. If null, the default timeout is used .</param>
2057+ /// <param name="maxTries">the maximum times to check for the condition ( default is 60) .</param>
20582058 /// <returns>An <see cref="IEnumerator"/> for use in Unity coroutines.</returns>
20592059 protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel ( NetworkObject networkObject , int maxTries = 60 )
20602060 {
@@ -2066,7 +2066,7 @@ protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel(NetworkObject networkO
20662066 /// Waits until the given NetworkObject is spawned on all clients or a timeout occurs.
20672067 /// </summary>
20682068 /// <param name="gameObject">The <see cref="GameObject"/> containing a <see cref="NetworkObject"/> to wait for.</param>
2069- /// <param name="timeOutHelper">An optional <see cref="TimeoutHelper"/> to control the timeout period. If null, the default timeout is used .</param>
2069+ /// <param name="maxTries">the maximum times to check for the condition ( default is 60) .</param>
20702070 /// <returns>An <see cref="IEnumerator"/> for use in Unity coroutines.</returns>
20712071 protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel ( GameObject gameObject , int maxTries = 60 )
20722072 {
@@ -2078,7 +2078,7 @@ protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel(GameObject gameObject,
20782078 /// Waits until all given NetworkObjects are spawned on all clients or a timeout occurs.
20792079 /// </summary>
20802080 /// <param name="networkObjects">The list of <see cref="NetworkObject"/>s to wait for.</param>
2081- /// <param name="timeOutHelper">An optional <see cref="TimeoutHelper"/> to control the timeout period. If null, the default timeout is used .</param>
2081+ /// <param name="maxTries">the maximum times to check for the condition ( default is 60) .</param>
20822082 /// <returns>An <see cref="IEnumerator"/> for use in Unity coroutines.</returns>
20832083 protected void WaitForSpawnedOnAllOrTimeOutWithTimeTravel ( List < NetworkObject > networkObjects , int maxTries = 60 )
20842084 {
0 commit comments