Is it possible to use a hotspot's collider (rather than a SpriteRenderer) to specify what shape to use during hotspot highlighting?
Here's an example of someone doing something very similar for both BoxCollider2D and PolygonCollider2D:
https://gamedev.stackexchange.com/questions/197313/show-colliders-in-a-build-game-in-unity
Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If you uncheck a Highlight component's Auto-brighten materials when enabled?, then the default highlighting effect will be disabled - and you can read the component's GetHighlightAlpha value to apply a custom effect through script.
For example, you could control the LineRenderer created in your linked thread by affecting its color's alpha channel:
Any chance of a feature like this being part of AC in the future? Like you, I'm trying to prioritize all the items on my todo list
I'd look into the use of a custom shader via Shader Graph, myself. One that takes a Float parameter to control the effect, which can be set using the same function as above.