Ejemplo n.º 1
0
        void Start()
        {
            s_Singleton  = this;
            _lobbyHooks  = GetComponent <Razeware.NetworkLobby.LobbyHook>();
            currentPanel = mainMenuPanel;

            backButton.gameObject.SetActive(false);
            GetComponent <Canvas>().enabled = true;

            DontDestroyOnLoad(gameObject);

            SetServerInfo("Offline", "None");
        }