Пример #1
0
 public void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     SalinCallbacks.OnDisconnectVoice();
     Destroy(this.gameObject);
     //Debug.LogErrorFormat("OnDisconnected cause={0}", cause);
     //if (cause == Photon.Realtime.DisconnectCause.None || cause == Photon.Realtime.DisconnectCause.DisconnectByClientLogic)
     //{
     //    return;
     //}
 }
Пример #2
0
        public void OnDisconnected(Photon.Realtime.DisconnectCause cause)
        {
            if (isConnected == true)
            {
                SalinCallbacks.OnPhotonCallbackEvent(new PhotonEvent(PhotonAction.Disconnect, (DisconnectCause)cause));
            }
            else
            {
                SalinCallbacks.OnPhotonCallbackError(new PhotonEvent(PhotonAction.Connect, (DisconnectCause)cause));
            }

            isConnected = false;
        }
Пример #3
0
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     Debug.Log("Desconectado! " + cause.ToString());
 }
Пример #4
0
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     Debug.LogWarningFormat("OnDisconnected Called", cause);
 }
Пример #5
0
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     Debug.Log("Disconnected from server. " + cause);
     SceneManager.MainScene_UpdateState("Disconnected");
 }
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     print("Disconnected from servers " + cause.ToString());
 }
Пример #7
0
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     disconnectedScreen.SetActive(true);
 }
Пример #8
0
 public override void OnDisconnected(Photon.Realtime.DisconnectCause cause)
 {
     Debug.LogWarningFormat("Disconnected from PUN with reason '{0}'", cause);
 }