GUI Tooltip problem

I have a GUI.Button inside the OnGUI function. But it seam that tooltip wouldn’t work. I’ve searched this forum and also a couple of different websites in search of solution with no result. Is this kind of bug?

I would really appreciate your help on this. It would be perfect if someone can post a code or link to a working solution. Thanks.

Are you using the examples from the scripting manual?

If you are expecting a tooltip to automatically be displayed, that’s not what happens; you only get the tooltip info. How you display it is up to you.

–Eric

I used a couple of examples (including some from the threads on this forum and also from scripting manual).

Thank you Eric. So I presume this is not the bug, it is supposed to work in that way.

I just need to solve a simple task:

  • I have a set of buttons.
  • When user hovers mouse over the button, a tooltip displays.