From d0e15b13787d6ac7a2d8ac9ccf054255e4dbcd15 Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Sat, 2 May 2020 18:48:12 -0400 Subject: [PATCH] Setting older obsoletes to errors for next release --- Assets/Mirror/Components/NetworkRoomManager.cs | 2 +- Assets/Mirror/Runtime/NetworkManager.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);