Checking when players loaded on scene
Options
Rim2812
✭
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;
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++; }
0
Comments
-
sorry I posted in the wrong section0
This discussion has been closed.