Version: 2022.3
언어: 한국어

Network.OnDisconnectedFromServer(NetworkDisconnection)

매뉴얼로 전환

설명

Called on client during disconnection from server, but also on the server when the connection has disconnected.

When called on the client the connection was lost or you disconnected from the server. The NetworkDisconnection enum will indicate if the connection was cleanly disconnected or if the connection was lost. When called on the server the connection has successfully disconnected (after a call to Network.Disconnect).