Code : Tout sélectionner
public PlayerScript player;
public void BuyingHouse()
{
polygon.SetActive(true);
player.gold -= 2;
player.wood -= 2;
player.buyed = true;
}
Code : Tout sélectionner
public PlayerScript player;
public void BuyingHouse()
{
polygon.SetActive(true);
player.gold -= 2;
player.wood -= 2;
player.buyed = true;
}