// public Text text; private void Awake() { if (LobbyGameNetwork.instance != null && LobbyGameNetwork.instance != this) { Destroy(transform.gameObject); return; } instance = this; //DontDestroyOnLoad(transform.gameObject); }
private void Awake() { Instance = this; PhotonNetwork.OfflineMode = false; PhotonNetwork.GameVersion = "1"; }