I'm tring to setup a simple script that notify the Players in a room when somebody enter.
Problem is that actually the nick doesnt get read, can somebody help? It's my first PUN project.
This is the script:
public override void OnPlayerEnteredRoom(Player newPlayer)
{
base.OnPlayerEnteredRoom(newPlayer);
Debug.Log($"{newPlayer.NickName} JOINED THE ROOM");
}
Problem is that actually the nick doesnt get read, can somebody help? It's my first PUN project.
This is the script:
public override void OnPlayerEnteredRoom(Player newPlayer)
{
base.OnPlayerEnteredRoom(newPlayer);
Debug.Log($"{newPlayer.NickName} JOINED THE ROOM");
}