interaction button above the item

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
tohaMem
Posts: 21
Joined: Sat Oct 07, 2023 9:05 am

interaction button above the item

Post by tohaMem »

Hello! I don't understand very well how to work with Proximity Selector and GUI :(
How can I do that instead of this:
Image

I was able to do more like this:
Image

Thank you!
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: interaction button above the item

Post by Tony Li »

Hi,

Duplicate the "Basic Standard Usable UI" prefab.

Add an instance of your prefab to the Usable box as a child GameObject.

Customize the appearance of your prefab however you like.

When the Proximity Selector detects a Usable with a "Standard Usable UI", it will show that UI instead of the default UI that appears in the top middle of the screen.
tohaMem
Posts: 21
Joined: Sat Oct 07, 2023 9:05 am

Re: interaction button above the item

Post by tohaMem »

It works! Thank you!!! ✨
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: interaction button above the item

Post by Tony Li »

Glad to help! :-)
Post Reply