In the inspector window for the object click the Add Component button.Find the cube in the Hierarchy view and select it.Create a new Cube from the menu Game Object -> 3D Object -> Cube.In this example, the player object will be a simple cube. By default, the NetworkManager instantiates an object for each player by cloning the player prefab. The next step is to setup the Unity Prefab that represents the player in the game. This component supplies a simple user interface in your game for controlling the network state.įor more details, see Using the NetworkManager. Find the component Network -> NetworkManagerHUD and add it to the object. This component manages the network state of the game.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |