コード例 #1
0
ファイル: NetworkHead.cs プロジェクト: ech0array/chunx
 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);
 }
コード例 #2
0
ファイル: NetworkHead.cs プロジェクト: ech0array/chunx
 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);
 }
コード例 #3
0
ファイル: NetworkHead.cs プロジェクト: ech0array/chunx
 public override void OnCreatedRoom()
 {
     base.OnCreatedRoom();
     DevelopmentHead.Log("network_head: joined room", LogType.Log);
 }