Esempio n. 1
0
 public void BroadcastDenyPowerup(string powerupId, string userId)
 {
     photonView.RPC("DenyPowerup", NetworkCharacter.GetPlayerByUserID(userId), powerupId);
 }
Esempio n. 2
0
 public void BroadcastBecameLockedOn(string enemyUserId)
 {
     photonView.RPC("BecameLockedOn", NetworkCharacter.GetPlayerByUserID(thisUserId), enemyUserId);
 }
Esempio n. 3
0
 public void BroadcastBecameUntargeted(string enemyUserId)
 {
     photonView.RPC("BecameUntargeted", NetworkCharacter.GetPlayerByUserID(thisUserId), enemyUserId);
 }
 public void HitAndTarget(string shooterId, string targetUserId)
 {
     GeneralSunHit(shooterId);
     SunAngryAt(NetworkCharacter.GetPlayerCenter(NetworkCharacter.GetPlayerByUserID(targetUserId)), shooterId);
 }