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:
Which didn't work, obviously.
Code (CSharp):
- NetworkManagerHUD hudManager = transform.GetComponent<NetworkManagerHUD>();
- hudManager.showGUI = false;