Forum rules - please read before posting.

Controlling inventory item cursor size and Menu display order

Hi, I have a couple of questions about the cursor after selecting an inventory item.

First, how can I control the size of the inventory item icon when the cursor changes to the selected item’s icon? Which setting or component should I look into?

I also created a Menu using a Unity UI Prefab that displays an effect whenever the selected inventory item cursor hovers over a Hotspot. Is it possible to make this Menu appear in front of the inventory item icon?

Any advice would be greatly appreciated. Thank you so much!

Comments

  • The adjustment of the Inventory icon cursor's size depends on your Cursor rendering field, at the top of the Cursor Manager.

    • When set to Software, it uses the Inventory cursor size field further down.
    • When set to Hardware, it's based on the size of the supplied cursor graphic.
    • When set to Unity UI, it's based on the RectTransform that displays it.

    For both Software and Hardware, the cursor is drawn atop all Menus. If you want to display a Menu on top, or incorporate UI elements into it, use Unity UI. You can then use the Canvas's Sort Order field to control its rendering order relative to other Canvases.

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.