title: show Gameobject one time only unity
body: <p>I have Game object I want to display it only one time if I have score &lt; 2000 game object shown and if score > 2000 game object not shown , after that when score &lt;2000 again game object not shown again (I assign game object as my image into inspector ) </p>
  
  <pre><code>if (Scores &lt; 2000) {
  
      Rock1.gameObject.SetActive (true);
  
  }
  if (Scores &gt; 2000) {
  
      Rock1.gameObject.SetActive (false);
  
  }
  </code></pre>