InRoomCallbacks issue
Options
Hi,
I try to implement onPlayerLeftRoom on 2 different objects. It is only called on one Unity Gameobject. The other one is never called. What's the reason behind this ?
I try to implement onPlayerLeftRoom on 2 different objects. It is only called on one Unity Gameobject. The other one is never called. What's the reason behind this ?
public override void OnPlayerLeftRoom(Player otherPlayer) {
0
Comments
-
In PUN 2, you need to register instances that should get callbacks. Deriving from MonoBehaviourPun will do that for you unless you override OnEnable and OnDisable without calling base.
0