The newly added NetworkManager component should look something like: ![]() Then add the NetworkManager component from the Network/NetworkManager menu item. To get started, create an empty GameObject in your starting Scene (or pick a convenient GameObject that can host the Network Manager component). ![]() The Network Manager can be used as the core controlling component of a multiplayer game. For advanced users, developers can derive a class from NetworkManager and customize its behaviour by overriding any of the virtual function hooks that it provides. The Network Manager HUD supplies a simple, default user interface at run time that allows the networked game to be controlled by the user. It has Inspector controls in the Editor that allow configuration of all of its features. The Network Manager can be used entirely without scripting. It is actually implemented entirely using the High-level API (HLAPI), so everything it does is also available to developers through scripting however, the Network Manager component wraps up a lot of useful functionality into a single place, and makes creating, running and debugging multiplayer games as simple as possible. ![]() The Network Manager is a component for managing the network state of a multiplayer game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |