Beispiel #1
0
 public override void OnDisconnected(DisconnectCause cause)
 {
     base.OnDisconnected(cause);
     OnServerStatusChange.Invoke(false);
 }
Beispiel #2
0
 public override void OnConnectedToMaster()
 {
     print("Player has connected to the Photon Server");
     OnServerStatusChange.Invoke(true);
     PhotonNetwork.AutomaticallySyncScene = true;
 }