I am trying to develop a unity multiplayer game. I want to hide information of port like other games.I post image You can chack it. I want to change stop button to quit but not How.?
Any one can help me, tell me How to do this like other games, What shoudl I do. Should I need to change scene after connection success(all player connected).?
The information displayed on your screen come from the NetworkManagerHUD
.
In order to hide these information, you have to set showGUI
boolean to false.
In order to do so, either uncheck it from the inspector or use the following line of code once your players are connected :
NetworkManagerHUD hud = FindObjectOfType<NetworkManagerHUD>();
if( hud != null )
hud.showGUI = false;