mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
docs: NetworkManager callbacks (#2207)
* removing mention of start start happens before server/host/client starts * updating order for stophost
This commit is contained in:
parent
05b4457e61
commit
0d6e867978
@ -13,7 +13,6 @@ A game can be running in one of three modes, host, client, or server-only. The c
|
||||
## Host Mode:
|
||||
|
||||
When the host is started:
|
||||
- `Start()` function is called
|
||||
- `OnStartServer`
|
||||
- `OnStartHost`
|
||||
- `OnServerConnect`
|
||||
@ -35,13 +34,13 @@ When a client disconnects:
|
||||
|
||||
When the host is stopped:
|
||||
- `OnStopHost`
|
||||
- `OnStopServer`
|
||||
- `OnServerDisconnect`
|
||||
- `OnStopClient`
|
||||
- `OnStopServer`
|
||||
|
||||
## Client Mode
|
||||
|
||||
When the client starts:
|
||||
- `Start()` function is called
|
||||
- `OnStartClient`
|
||||
- `OnClientConnect`
|
||||
- `OnClientChangeScene`
|
||||
@ -54,7 +53,6 @@ When the client stops:
|
||||
## Server Mode
|
||||
|
||||
When the server starts:
|
||||
- `Start()` function is called
|
||||
- `OnStartServer`
|
||||
- `OnServerSceneChanged`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user