title: Unity gameObject.SetActive not enabling its object
body: <p>This is a weird situation for me... when disabling slide.gameObject.SetActive(false) works perfectly, but when i need to enable it doesn't work</p>
  <p>the strange part is that debug is correctly showing the gameobject name</p>
  <p>Can you help me?</p>
  <pre><code>public void ShowSlide(Transform slide, bool show, float time)
  {
      if (show)
      {
          // Show
          Debug.Log(slide.gameObject.name);
          slide.gameObject.SetActive(true);
  
          // slide.Find(&quot;Panel&quot;).DOLocalRotate(new Vector3(0, 0, 0), time);
      }
      else
      {
          // Hide
          slide.Find(&quot;Panel&quot;).DOLocalRotate(new Vector3(90.0F, 0, 0), time).OnComplete(()=&gt;slide.gameObject.SetActive(false));
      }
  }
  </code></pre>