i want to create some script when score is greater then 100(>100) button shown, and when i click that button its not set active again, but when score decrease 100 (<100) and increase 100(>100) button show again , i don’t want that i want when score greater than 100 button shown and when i click button not set active again, after that when score decrease to 100 and increase again button not set active
public GameObject object1;
if (Scores > 10) {
object1.SetActive (true);
}
public void whenclickbutton(){
object1.SetActive (false);
}