Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Checking when players loaded on scene

$
0
0
How i can check when all the players have been loaded to the scene of another scene ( menu ) ?
Try to send RPC but the values do not go correct (if using photonView.isMine the result is also not correct)
float playersConnected;
void Start () {
photonView.RPC ("Connected", PhotonTargets.AllBuffered);
}

[PunRPC]
public void Connected(){
playersConnected++;
}

Viewing all articles
Browse latest Browse all 15755

Trending Articles