title: Cannot Enable/Disable Button(Script) Component of UI Button in Unity
body: <p>I want access to a component of a UI Button and want to enable a  disabled component "
  <strong>Button(Script)</strong>" for unlocking the next level but it is not enable the component.  </p>
  
  <pre><code>if(PlayerPrefs.GetInt("Level") == 1){
     Button Level2 = Unlock.GetComponent&lt;Button&gt;();
     Level2.enabled = true;
  }
  </code></pre>
  
  <p>P.S: No Syntax Error in my code.</p>