Forum rules - please read before posting.

Inventory Text hidden behind texture image (in menu)

Hello to all.


Is there a way to force the description text that hovers over the inventory items on a menu tu appear on top of everything? (Or at least on top of the texture used by the menu) 

I ask this because I made an AC menu, with an inventory box. I applied a texture in the background texture field, and now the description text appears behind my texture (I know this because part of the text shows when I hover on top of the items that are near the border of the texture).

Thanks in advance!!

Comments

  • Is the description text in question coming from your Hotspot label?  You will need to make sure it is at the bottom of the Menu list, as that determines the drawing order.

    However, that only applies to Menus that are drawn with Adventure Creator.  The drawing-order cannot be set between Menus that are drawn with AC vs those drawn with Unity UI, and if all your Menus are drawn with Unity UI you will have to use your canvas prefab's sorting values to control their display order.
  • These menus are 100% AC based, so that should not be an issue. 

    I do not understand what you mean with hotspot label, this is the description text that pops whenever your cursor hovers over an item placed in an inventory box (and now it is popping, only behind the texture of the menu itself :( )

    Here is an image of my menu so that you can see. It has 5 inventory boxes, plus 2 shift buttons for each box. It also has 5 buttons to jump to each inventory box directly, a close button, and a score button to jump to a different menu (oh, and a menu label which contains a single line of text):

    image


    image


    image


    image
    Here you can see the the upper part of the label popping behind the menu only texture.


    Thanks in advance!!
  • The Hotspot label refers to the text displayed in your "Hotspot" Menu.  Don't let the name mislead you: the text here will show the names of your inventory items too - basically all of the dynamic "hover text" is shown in this Menu.

    You must make sure that this Menu is underneath all others.  It is named "Hotspot" by default, but you may have changed it.  You can send a Menu to the bottom of the list by clicking the cog to the right of it.
  • edited June 2017
    Oh now I get what you meant haha. 

    I'm gonna do just that, thanks!!

    EDIT**

    Did not work. I'm sending you a shot of the hotspot menu. It is already in the bottom of the menu list.

    image

    The hotspot menu, at least since I arrived on this project, has not been touched (apart from now throwing it to the bottom).

    Thanks in advance!
  • The Hotspot Menu uses Unity UI, while the Inventory one uses Adventure Creator.  Again, you can't control the ordering between the two, as they use different rendering systems.  If you switch your Hotspot Menu's Source field back to Adventure Creator - or change change the Inventory's to Unity Ui Prefab - you'll be able to control their display order.
  • Oops you're right- I totally missed that, sorry :o

    Now it works. Thanks a lot!!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.