Object Highlighting
The interaction package includes a feature for highlighting objects in the scene. This is utilized by the Snappers to indicate when an object is within snapping range, but it can also be used independently.
Various highlight effects can be applied to objects, allowing for customized visual cues to indicate different states. Creating your own effects or modifying existing ones can be particularly useful for differentiating between these states.
The package includes a default overlay effect that colors an object, as well as two variants of a mesh outline shader.
The simplest way to add a highlight effect to an object is by using the Highlight component. This component will apply the referenced highlight effect to the GameObject it is attached to.