public static void MinusGold(int m_gold) { gold -= m_gold; if (gold < 0) { gold = 0; } PreferencesSaver.SetGold(gold); }
public static void PlusGold(int m_gold) { gold += m_gold; PreferencesSaver.SetGold(gold); }