Setting older obsoletes to errors for next release

This commit is contained in:
Chris Langsenkamp 2020-05-02 18:48:12 -04:00
parent a700d7afc3
commit d0e15b1378
2 changed files with 3 additions and 3 deletions

View File

@ -541,7 +541,7 @@ public virtual GameObject OnRoomServerCreateRoomPlayer(NetworkConnection conn)
/// </summary>
/// <param name="conn">The connection the player object is for.</param>
/// <returns>A new GamePlayer object.</returns>
[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;

View File

@ -1440,9 +1440,9 @@ public virtual void OnClientNotReady(NetworkConnection conn) { }
// Deprecated 12/22/2019
/// <summary>
/// Obsolete: Use <see cref="OnClientChangeScene(string, SceneOperation, bool)"/> instead.).
/// Obsolete: Use <see cref="OnClientChangeScene(string, SceneOperation, bool)"/> instead.
/// </summary>
[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);