public override void OnPlayerEnteredRoom(Player player) { base.OnPlayerEnteredRoom(player); DevelopmentHead.Track("network_is_master_client", PhotonNetwork.IsMasterClient); DevelopmentHead.Log($"network_head: a player with the actor id of {player.ActorNumber} joined the room", LogType.Log); DevelopmentHead.Track("network_room_population", PhotonNetwork.PlayerList.Length); }
public override void OnJoinedRoom() { DevelopmentHead.Log("network_head: joined room", LogType.Log); DevelopmentHead.Track("network_room", PhotonNetwork.CurrentRoom.Name); DevelopmentHead.Track("network_actor_id", photonView.OwnerActorNr); DevelopmentHead.Track("network_room_population", PhotonNetwork.PlayerList.Length); }
public override void OnCreatedRoom() { base.OnCreatedRoom(); DevelopmentHead.Log("network_head: joined room", LogType.Log); }