My own scripts doesnt work
Options
If I use this following script:
Can someone help me pls, I use Unity 2020.2.1f1
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NetworkManager : MonoBehaviour { private void Start() { Photon.Pun.PhotonNetwork.ConnectUsingSettings("v01"); } void Update() { Debug.Log(Photon.Pun.PhotonNetwork.connectionStateDetailed.ToString()); } }i get this errors:
Can someone help me pls, I use Unity 2020.2.1f1
0
Comments
-
Fill PhotonServerSettings file according the your game.
After directly type:PhotonNetwork.ConnectUsingSettings();
0