Метод | Описание | |
---|---|---|
OnClientConnect ( NetworkConnection conn ) : void |
Called on the client when connected to a server.
|
|
OnClientDisconnect ( NetworkConnection conn ) : void |
Called on the client when disconnected from a server.
|
public OnClientConnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | Connection to the server. |
Результат | void |
public OnClientDisconnect ( NetworkConnection conn ) : void | ||
conn | NetworkConnection | Connection to the server. |
Результат | void |