title: What are the alternatives to using "FindObjectsOfType"?
body: <p>As of right now I am using Unity with C#. My Code are as follows: </p>
  
  <pre><code>    var buttons = FindObjectsOfType&lt;DefenderButton&gt;();
  
      foreach (DefenderButton button in buttons) // color unselect resets back color
      {
          button.GetComponent&lt;SpriteRenderer&gt;().color = new Color32(41, 41, 41, 255); 
      }
  </code></pre>
  
  <p>What are the alternatives to using <code>FindObjectsOfType</code>?</p>