You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: move session manager and relay utilities to utilities package (#438)
* Moved SessionManager and UnityRelayUtilities to the Utilities package
* Renaming OnClientApprovalCheck method to more meaningful name
* Deleted unused prefab
Copy file name to clipboardExpand all lines: Packages/com.unity.multiplayer.samples.coop/Utilities/Net/SessionManager.cs
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -109,16 +109,15 @@ private void Clear()
109
109
}
110
110
111
111
/// <summary>
112
-
/// Handles the flow when a user is connecting by testing for duplicate logins and populating the session's data.
113
-
/// Invoked during the approval check and returns the connection status.
112
+
/// Adds a connecting player's session data if it is a new connection, or updates their session data in case of a reconnection. If the connection is not valid, simply returns false.
114
113
/// </summary>
115
114
/// <param name="clientId">This is the clientId that Netcode assigned us on login. It does not persist across multiple logins from the same client. </param>
116
115
/// <param name="clientGUID">This is the clientGUID that is unique to this client and persists accross multiple logins from the same client</param>
0 commit comments