Files
agame_for_unity/Docs/FishNet-Documentation-main/fishnet-building-blocks/prefabs/networkmanager.md
T
2026-09-20 15:53:11 +08:00

939 B

description
description
A pre-configured NetworkManager prefab, for ease-of-use.

NetworkManager

The NetworkManager prefab contains a basic NetworkManager with a NetworkHudCanvas to provide you with a quick setup for using FishNet in your game.

You can simply add this object into your scene and use the Server and Client buttons in play mode to start FishNet as a server, client, or both. You can also setup the autostart options 1 on the NetworkHudCanvas child object.

The components this object contains are the NetworkManager, ObserverManager (with a Scene Observer Condition), and the PlayerSpawner.


  1. Autostart options allow FishNet to begin as a client, server, both, or none as soon as the object is loaded in the game. ↩︎