Exemplo n.º 1
0
    // public Text text;

    private void Awake()
    {
        if (LobbyGameNetwork.instance != null && LobbyGameNetwork.instance != this)
        {
            Destroy(transform.gameObject);
            return;
        }
        instance = this;
        //DontDestroyOnLoad(transform.gameObject);
    }
Exemplo n.º 2
0
 private void Awake()
 {
     Instance = this;
     PhotonNetwork.OfflineMode = false;
     PhotonNetwork.GameVersion = "1";
 }