Usage:
Install the Treasure Detector package. It will come with a Treasure Detector Template for your inventory (see Crayta Inventory package).
Attach the detectableTreasureScript to treasures you want to … detect.
While holding the Treasure Detector item in your hand, it will show you the distance to the next treasure.
It comes with a range and refreshRate property. Both should be quite self-explainatory.