Read objects like in Penumbra

Hi, I’m new to coding and I dont know how to make a script like in penumbra when you right click on a object, a text appears about the object.

  • You use the Input class to listen for a mouse click.
  • Then you perform a Raycast to determine the object on which the cursor was clicked.
  • Then you create a UI text object positioned on a world space canvas above the object.

These are all basic topics covered in the manual and in the Learn section of tis site.