Exemple #1
0
    // Use this for initialization
    void Start()
    {
        settings = GameObject.Find("Global").GetComponent<Settings>();

        // Pause game when we are doing menu stuff...
        settings.Pause();

        // Start testing connection
        PhotonNetwork.logLevel = PhotonLogLevel.Full;
        PhotonNetwork.ConnectUsingSettings("0.1");
    }