Hi,
I'm trying to do something pretty simple. I have a room that allows 2 players before starting the game. I want to change the color of the remote player to be different from local player when he connects. But can't really see any callbacks that I could use to do this. I have tried to do this in:
- OnJoinedRoom: This seems only called for local player
- OnPhotonPlayerConnected: This is called for every remote client but I can't get the instance of the gameobject that will be created for the remote player because it seems at that time the gameobject have not been created yet.
So, am I missing anything?
Thanks in advance.
I'm trying to do something pretty simple. I have a room that allows 2 players before starting the game. I want to change the color of the remote player to be different from local player when he connects. But can't really see any callbacks that I could use to do this. I have tried to do this in:
- OnJoinedRoom: This seems only called for local player
- OnPhotonPlayerConnected: This is called for every remote client but I can't get the instance of the gameobject that will be created for the remote player because it seems at that time the gameobject have not been created yet.
So, am I missing anything?
Thanks in advance.