示例#1
0
 // The weapon was aimed by the player
 private void ReceivedWeaponAimed(Weapon w)
 {
     Debug.Log("ReceivedWeaponAimed");
     Look.OnWeaponAimed(this, w);
     HUDRelay.OnWeaponAimed(w);
 }
示例#2
0
 // The weapon was fired by the player
 private void ReceiveWeaponFired(Weapon w)
 {
     Debug.Log("ReceiveWeaponFired");
     HUDRelay.OnWeaponFired(w);
 }
示例#3
0
 // The player took damage
 private void ReceivedDamageTaken()
 {
     HUDRelay.OnShieldChanged(DamageController.TestHealth);
 }
示例#4
0
 private void ReceivedHealthRegenerated()
 {
     HUDRelay.OnShieldChanged(DamageController.TestHealth);
 }
示例#5
0
 // The player equipped a new weapon
 private void ReceivedWeaponEquipped()
 {
     Debug.Log("ReceivedWeaponEquipped");
     HUDRelay.OnWeaponChanged(Inventory);
 }