public void SetShotsLeft(VariableStore store, int value) { store.SetInt(gunName + "_shots", value); }
public void GiveAmmo(AmmoType type, int amount) { variableStore.SetInt(type.ToString() + "_count", GetAmmoCount(type) + amount); }