mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Setting older obsoletes to errors for next release
This commit is contained in:
parent
a700d7afc3
commit
d0e15b1378
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user