private void setCurrentNbTresorsForPlayer(int value) { currentNbTresorsForPlayer = value; LocalizationUtils.FillLabelWithLocalizationKey(tresorUiRemainingLabel, LOCKEY_TRESOR_PLACEMENT_REMAINING, currentNbTresorsForPlayer); bool tresorsLeft = currentNbTresorsForPlayer > 0; tresorUiRemainingLabel.gameObject.SetActive(tresorsLeft); tresorUiDoneButton.SetActive(!tresorsLeft); }