Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Cant Get NetworkManager GUI

Discussion in 'Multiplayer' started by UnityUser9860, Sep 15, 2016.

  1. UnityUser9860

    UnityUser9860

    Joined:
    Dec 8, 2015
    Posts:
    179
    i cant seem to get the components Network Manager GUI
    I'm trying to do
    Code (CSharp):
    1. GetComponent<NetwoekManagerGUI>();
    or something along them lines but it doesn't auto complete or anything? is there anyway to get the component?

    Thank you!
     
  2. gintautass

    gintautass

    QA Minion Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    46
    Code (CSharp):
    1. using UnityEngine.Networking;
    2.  
    3. public class NewBehaviourScript : MonoBehaviour
    4. {
    5.  
    6.     void Start ()
    7.     {
    8.         GetComponent<NetworkManagerHUD>()
    9.     }
    10. }
    This should work :)
     
  3. UnityUser9860

    UnityUser9860

    Joined:
    Dec 8, 2015
    Posts:
    179