I want to use getComponent
to click the “Lan Host(H)” button by script. But NetworkManagerHUD
class is not found. Why?
#Edit
I added using UnityEngine.Networking;
.
I want to use getComponent
to click the “Lan Host(H)” button by script. But NetworkManagerHUD
class is not found. Why?
#Edit
I added using UnityEngine.Networking;
.
Add this at the top of your class file.
using UnityEngine.Networking;