Where to put a script ?

I have got a text revealing script but not sure where exactly it goes ?!
I basically want it to appear as I approach the object . Do I make a canvas and text UI on the object ? Or a empty object ? Comment please or dm

can you show the script?
really depends on the script that what it does and what component it uses…

1 Like

Attach a Script to the object and in the Update() method check the distance to the player.
if its under some threshhold set the GameObject that holds the UI to active.

1 Like

Thanks I’ll try that