My main inventory is at the bottom of the screen and when I move the mouse on an item the label appears above it.
But now I have entered a second menu (for Option, Save, Load ecc with Horizontal Element) set as "Mouse Over" that appears at the top of the screen. The problem is that the Hotspot Label (set as Always fit within screen) appears on the right of the items in this menu (as it can not appear above).
I would need the label to appear at this time under the cursor and not above it.
It would probably have been enough to change at runtime the Y of the Hotspot menu but I did not find how to access it.
So I made a copy of the Hotspot menu, changed the Y and checked Start game locked off.
Then in the "ActionList when turn on" of the MouseOver menu I entered Object -> Send message -> Custom -> and in the script
MenuHotspot.isLocked = true;
MenuHotspotPause.isLocked = false;
In ActionList when turn off:
MenuHotspot.isLocked = false;
MenuHotspotPause.isLocked = true;
This way I turn the two menus on / off as I need.
Is there a simpler way?
Comments