예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="psui"></param>
 public void RemoveUIPlayer(bl_PlayerScoreboardUI psui)
 {
     if (cachePlayerScoreboard.Contains(psui))
     {
         cachePlayerScoreboard.Remove(psui);
     }
 }
예제 #2
0
 public override void OnPhotonPlayerDisconnected(PhotonPlayer otherPlayer)
 {
     if (ExistPlayerOnList(otherPlayer))
     {
         bl_PlayerScoreboardUI pscui = GetPlayerScoreboardUI(otherPlayer);
         RemoveUIPlayer(pscui);
         pscui.Destroy();
     }
 }
예제 #3
0
 public void OnPlayerLeftRoom(Player otherPlayer)
 {
     if (ExistPlayerOnList(otherPlayer))
     {
         bl_PlayerScoreboardUI pscui = GetPlayerScoreboardUI(otherPlayer);
         RemoveUIPlayer(pscui);
         pscui.Destroy();
     }
 }