who is disconnected?
Options
Why is empty , i cant know who is disconnected?
public override void OnPlayerLeftRoom(Player jugador)
{
Debug.LogError("SE HA IDO EL JUGADOR "+ jugador.UserId);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.NickName);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.ActorNumber);
}
New Player is empty always and all data
public override void OnPlayerLeftRoom(Player jugador)
{
Debug.LogError("SE HA IDO EL JUGADOR "+ jugador.UserId);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.NickName);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.ActorNumber);
}
New Player is empty always and all data
0
Comments
-
Hi @tiktakgames,
Thank you for choosing Photon!
To exchange UserId set roomOptions.PublishUserId = true when creating rooms.
Set Nickname before connecting / authenticating or even inside rooms and it will be synchronized automatically.0 -
thank you0