Add AudioSource-Like Range to Script

So you’re editing the AudioSource component of a GameObject in the Inspector, and you see the blue circles appear in the 3D scene view, showing the bounds of the AudioSource’s Min and Max Distances. I have several scripts with similar “range” concepts, and properties for setting these ranges within the Inspector. Here’s my question: Is there like some attribute that I can add to my script or to those properties, so that they’ll render a “range” gizmo similar to an AudioSource?

Thanks in advance!

To future Googlers, I came up with an answer myself. Use SphereCollider components with the IsTrigger property set to true. The sphere of influence will then show in the editor, and you can use the OnTriggerEnter, OnTriggerExit, and OnTriggerStay methods of the component in your scripts.