title: How to find all Cube game Object in the scene?
body: <p>I'm looking for a way to find all CubeGameObject in the scene. I'm trying to do this :</p>
  
  <pre><code>Cube[] ballsUp = FindObjectsOfType (typeof(Cube)) as Cube[];
  </code></pre>
  
  <p>But cube isn't a game object type apparently.</p>
  
  <p>I think i need to use something related to PrimitiveType but can figure out what and how to use it...</p>
  
  <p>Thanks</p>