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> /// </summary>
/// <param name="conn">The connection the player object is for.</param> /// <param name="conn">The connection the player object is for.</param>
/// <returns>A new GamePlayer object.</returns> /// <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) public virtual GameObject OnRoomServerCreateGamePlayer(NetworkConnection conn)
{ {
return null; return null;

View File

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