I need an interactive sign (or whatever you call it) like this in Unity 2D

Hello guys, I need help to make the sign like this. How do i make it? I’m new.

So as you can see the UI comes out if the player is Infront of the object or sign. I need to make it like that.


This is the game I’m making.

Educate me please, thanks!

There’s two primary parts to this:

  • detecting in your world that you are at a place to start this dialog. This is identical to any “pickup item” or “interact object” or “talk to NPC” or “get NPC mission” system

  • some kind of UI design, perhaps a dialog box, pick list, button list, etc.

That should give you plenty to start googling.

There are literally millions of tutorials for both of these things so get started today.

Start simple, just display something when you reach the spot.

When that works, instantiate a dialog and halt gameplay when you get near it.

etc. etc.

I suggest you take it one step at a time, just like this guy:

Imphenzia: How Did I Learn To Make Games: