title: how GetComponentInChildren in unity
body: <p>I have a problem:</p>
  
  <p>How to assign <code>[]</code> status to <code>rend[]</code></p>
  
  <pre><code>public GameObject[] Obj;
  private bool[] Status;
  private MeshRenderer[] rend;
  
  private void Start () 
  {
      for (int i = 0; i &lt; Obj.Length; i++)
      {
          rend[i] = GetComponentInChildren&lt;MeshRenderer&gt;();
          Status[i] = rend[i];
      }
  }
  </code></pre>