diff --git a/Assets/Mirror/Components/NetworkRoomManager.cs b/Assets/Mirror/Components/NetworkRoomManager.cs index 7654ce9f8..d7652374a 100644 --- a/Assets/Mirror/Components/NetworkRoomManager.cs +++ b/Assets/Mirror/Components/NetworkRoomManager.cs @@ -541,7 +541,7 @@ public virtual GameObject OnRoomServerCreateRoomPlayer(NetworkConnection conn) /// /// The connection the player object is for. /// A new GamePlayer object. - [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Use OnRoomServerCreateGamePlayer(NetworkConnection conn, GameObject roomPlayer) instead")] + [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Use OnRoomServerCreateGamePlayer(NetworkConnection conn, GameObject roomPlayer) instead", true)] public virtual GameObject OnRoomServerCreateGamePlayer(NetworkConnection conn) { return null; diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index e276e4a34..0c2fe5e80 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -1440,9 +1440,9 @@ public virtual void OnClientNotReady(NetworkConnection conn) { } // Deprecated 12/22/2019 /// - /// Obsolete: Use instead.). + /// Obsolete: Use instead. /// - [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Override OnClientChangeScene(string newSceneName, SceneOperation sceneOperation, bool customHandling) instead")] + [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Override OnClientChangeScene(string newSceneName, SceneOperation sceneOperation, bool customHandling) instead", true)] public virtual void OnClientChangeScene(string newSceneName, SceneOperation sceneOperation) { OnClientChangeScene(newSceneName, sceneOperation, false);