This is what I’d like to do.
When a box collider is triggered. I want a “display” to appear which contains text, and a button to open a URL and a button to exit the “display”. Once exited from the “display” I want to remain in my original location.
Hey, This answer assumes you have a tag on the object you’re colliding with the box collider which i’ll use the tag “Player” for, but replace this with yours.
You should just be able to drop this code onto the object with the box collider and as long as the object has a rigid body attached to it (be sure to turn off use gravity so it doesn’t just fall through the floor) and that the isTrigger check box is checked on the box collider component attached to the object.
The reason I use the screen height and width to place the box and buttons is so that it looks the same at any resolution.
Naturally it doesn’t look the best in these positions, but by playing around with them you can make it look more like what you’re looking for.