Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Is GetPing waiting to be finished to launch the next line ?

$
0
0
Just a simple question, can I use GetPing to wait for a line of code or a function to start?

PhotonNetwork.GetPing ();
Debug.Log ("Executed after receive the ping");

So if i have 500ms, the debug log should start instant when the ping return.

Viewing all articles
Browse latest Browse all 8947

Trending Articles