title: Show the GUI button when mouse hover to the object
body: <p>i already have this player on my screen. And i want, whenever the mouse hover at the object, the GUI button show itself (like tooltip). I tried below code, but the button is not showed up when i hover at the object. Here is my code:</p>
  
  <pre><code>void OnMouseEnter()
  
      {
  
          Rect buttonRect = new Rect(250, Screen.height - buttonHeight, textInfoPlayerButtonWidth, textInfoPlayerButtonHeight);
  
  
  
          if (GameManager.instance.currentPlayerIndex == 0) (the object)
  
          {
  
              if (GUI.Button(buttonRect, "This is player 1"))
  
              {
  
  
  
              }
  
          }
  
      }
  </code></pre>
  
  <p>I want to be it like this:
  <img src="https://i.stack.imgur.com/kqVrt.jpg" alt="enter image description here"></p>
  
  <p>But i want it to be show that GUI hovering button on that character, not when the character selected.</p>
  
  <p>Thank you</p>