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>
|
/// </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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user