The UI elements are designed relatively simplistically. The code detects the FirstPersonCharacter's trace, and shows the text if it hits the "UI Detection Box" and turns it off if it is no longer hitting it.
Text is also set up to align itself to the player camera's location. This function only enables itself if the trigger box is hit, in order to save memory.
Because of the reusable nature of this asset, various elements are promoted to variables which you can edit on a per-instance basis. You can adjust: