void Start()
    {
        snhc             = SnakeNetworkHudController.Instance;
        connectPanel     = GameObject.Find("ConnectPanel");
        startServerPanel = GameObject.Find("ServerPanel");
        startServerBtn   = GameObject.Find("StartServerBtn");
        stopServerBtn    = GameObject.Find("StopServerBtn");
        timerText        = GameObject.Find("GameTimer");

        NetworkManagerHUD hud = FindObjectOfType <NetworkManagerHUD>();

        // Checks plateform before runtime
        // If it's a standalone version or in the editor it means it is the server
#if UNITY_EDITOR //|| UNITY_STANDALONE
        connectPanel.SetActive(false);
        startServerPanel.SetActive(true);
        stopServerBtn.SetActive(false);
        timerText.SetActive(true);
        if (hud != null)
        {
            hud.showGUI = false;
        }
        // Otherwise it is the client
#else
        connectPanel.SetActive(true);
        startServerPanel.SetActive(false);
        timerText.SetActive(false);
#endif
    }
 void Awake()
 {
     Instance     = this;
     this.manager = this.GetComponent <NetworkManager>();
 }