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; //} }
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; }
public override void OnDisconnected(Photon.Realtime.DisconnectCause cause) { Debug.Log("Desconectado! " + cause.ToString()); }
public override void OnDisconnected(Photon.Realtime.DisconnectCause cause) { Debug.LogWarningFormat("OnDisconnected Called", cause); }
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()); }
public override void OnDisconnected(Photon.Realtime.DisconnectCause cause) { disconnectedScreen.SetActive(true); }
public override void OnDisconnected(Photon.Realtime.DisconnectCause cause) { Debug.LogWarningFormat("Disconnected from PUN with reason '{0}'", cause); }