Tooltips (561988)

Originally I made an inventory system with GUI.Box and used the same OnGUI system to draw a tooltip with a new GUI.Box, it worked fine, then i put the inventory in a GUI.Window, changed the tooltip’s GUI.depth to 0 and now the text wont show up. one of my “inventories” (its a gear display) is not inside a window yet and when i hover over an item it displays fine, but not in the inventory when it is places in a GUI.Window.
its a large script, but i will post it if need be.

-Lamont

I figured it out, when you null out the text in OnGUI it cannot be in an if statement.
I used tooltip = “”;