mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Updated Network Manager doc
This commit is contained in:
parent
5efaa4af1a
commit
8040ebb5cf
@ -120,7 +120,7 @@ There are virtual functions on the `NetworkManager` class that you can customize
|
|||||||
Define the default prefab Mirror should use to create player game objects on the server. Mirror creates Player game objects in the default handler for AddPlayer on the server. Implement OnServerAddPlayer to override this behavior.
|
Define the default prefab Mirror should use to create player game objects on the server. Mirror creates Player game objects in the default handler for AddPlayer on the server. Implement OnServerAddPlayer to override this behavior.
|
||||||
|
|
||||||
- **autoCreatePlayer**
|
- **autoCreatePlayer**
|
||||||
Tick this checkbox if you want Mirror to automatically create player game objects on connect, and when the Scene changes. This checkbox is ticked by default. Note that if you are using the MigrationManager and you do not enable Auto Create Player, you need to call ClientScene.SendReconnectMessage when your client reconnects.
|
Tick this checkbox if you want Mirror to automatically create player game objects on connect, and when the Scene changes. This checkbox is ticked by default.
|
||||||
|
|
||||||
- **playerSpawnMethod**
|
- **playerSpawnMethod**
|
||||||
Define how Mirror should decide where to spawn new player game objects. This is set to Random by default.
|
Define how Mirror should decide where to spawn new player game objects. This is set to Random by default.
|
||||||
|
Loading…
Reference in New Issue
Block a user