void OnPhotonPlayerPropertiesChanged(object[] playerAndUpdatedProps) { PhotonPlayer player = playerAndUpdatedProps [0] as PhotonPlayer; Hashtable props = playerAndUpdatedProps [1] as Hashtable; if (photonView.owner.ID == player.ID && props.ContainsKey(PhotonPlayerExtensions.increasedDamageProp)) { SetShotEffects(player.HasIncreasedDamage()); } }