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