public void CheckButtons() { player = PlayerManager.singleton; if (player.money - button1.item.price < 0) { button1.DisableButton(); } if (player.money - button2.item.price < 0) { button2.DisableButton(); } if (player.money - button3.item.price < 0) { button3.DisableButton(); } }