title: Unity - SetActive() on GameObject dont works on child's objects
body: <p>I have the following line of code:</p>
  
  <pre><code>GameObject.Find("_obstacles").SetActive(false);
  </code></pre>
  
  <p>It serves to leave an inactive object, but the children of this object are not getting with the same status.</p>
  
  <p><strong><em>My result is:</em></strong></p>
  
  <p><a href="https://i.stack.imgur.com/0qC2c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0qC2c.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>The objects children do not inherit the parent object state (as stated in the > documentation of Unity)!</p>
  </blockquote>
  
  <p>But the obsolete method "<code>SetActiveRecursively()</code>" works for me! O.o The Very strange, no?</p>
  
  <p><a href="https://i.stack.imgur.com/48zbO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/48zbO.png" alt="enter image description here"></a></p>