mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkLobbyManager: Added Obsoleted Method (#591)
This commit is contained in:
parent
f17ddfec5f
commit
dc0b8d406a
@ -195,6 +195,12 @@ public override void OnServerDisconnect(NetworkConnection conn)
|
|||||||
OnLobbyServerDisconnect(conn);
|
OnLobbyServerDisconnect(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[System.Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||||
|
public override void OnServerAddPlayer(NetworkConnection conn)
|
||||||
|
{
|
||||||
|
OnServerAddPlayer(conn, null);
|
||||||
|
}
|
||||||
|
|
||||||
public override void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
public override void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
||||||
{
|
{
|
||||||
if (SceneManager.GetActiveScene().name != LobbyScene) return;
|
if (SceneManager.GetActiveScene().name != LobbyScene) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user