Set timeout for trying to connect to photon server

hi,
I use PUN 2.12 and I want to reduce timeout for trying to connect to photon server for showing retry message to the user in UI but I can't find PhotonNetwork.networkingPeer.DisconnectTimeout in PUN SDK.
any suggestions?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @atworld,

    Thank you for choosing Photon!

    In PUN2 it should be PhotonNetwork.NetworkingClient.LoadBalancingPeer.DisconnectTimeout.