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++;
}
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++;
}