public override void OnPlayerEnteredRoom(Player newPlayer) wont parse.
I'm attempting to add other players to the room. Everything is working fine but these two methods are giving me problems.
0
Answers
-
Hi @MarkusSharpus,
Thank you for choosing Photon!
It's probably because you have another class called Player.
So you have two options:
- at the top of the file add:
using Player = Photon.Realtime.Player;
- in the callbacks parameter, replace
Player
withPhoton.Realtime.Player
.
0 - at the top of the file add: