title: Get all same scripts that attached in scene's gameobjects and store its into array, using c#
body: <p>I need to get all same scripts in scene and then process it in another script is possible to do that?? <br>
  Here is what I tried so far, but unity throws the below error when using it:<br></p>
  
  <pre><code>ScrollingBackgroundScript[] scrollingObjects = FindObjectsOfType (typeof(ScrollingBackgroundScript)) as ScrollingBackgroundScript;  
  </code></pre>
  
  <p>The error statement from unity is:</p>
  
  <p>error CS0039: Cannot convert type UnityEngine.Object[] to ScrollingBackgroundScript via a built-in conversion</p>