public void Mul(WeaponAttributes wa)
 {
     for (int i = 0; i < keys.Count; i++)
     {
         this[keys[i]] *= wa[keys[i]];
     }
 }
Exemple #2
0
 public void OnPrimaryFireUp(IWeapon weapon)
 {
     print("Received: up");
     runtimeValues    = null;
     weaponAttributes = null;
 }
Exemple #3
0
 public void OnPrimaryFireDown(IWeapon weapon)
 {
     print("Received: down");
     runtimeValues    = weapon.RuntimeValues;
     weaponAttributes = weapon.FinalValue;
 }