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