Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Modifying value in Network Manager HUD?

$
0
0
Is there any easy way to modify a value in the Network Manager Hud at runtime? I just want to set showGUI to false when a condition is met. I tried accessing it by doing the following in a script on the gameobject that has the Network Manager Hud:
Code (CSharp):
  1. NetworkManagerHUD hudManager = transform.GetComponent<NetworkManagerHUD>();
  2. hudManager.showGUI = false;
Which didn't work, obviously.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>