public Color GetPlayerTextColor(PhotonPlayer player) { int matIndex = player.GetMaterialIndex(); return(matIndex > -1 ? playerTextColors [matIndex] : Color.white); }
public Color GetPlayerTextColor(PhotonPlayer player) { int matIndex = player.GetMaterialIndex (); return matIndex > -1 ? playerTextColors [matIndex] : Color.white; }