Skip to content

Quick Start

Use a URP project, such as the Universal 3D template. Setup takes about five minutes.

1. Import the package

Import from Window > Package Manager > My Assets. Files are installed in Assets/PixitGames/HighlightIndicatorKit.

2. Add the Renderer Feature

Open Tools > Pixit Games > Highlight Kit > Setup. It also opens automatically when a Universal Renderer needs the feature.

Click Fix all renderers to add or enable the feature on renderers used by Graphics and Quality settings. Unsupported renderers are skipped. Changes are saved to renderer assets and support Undo.

If the project does not use URP, assign a URP asset in Project Settings > Graphics first. See Setup for individual renderer quality settings.

3. Highlight an object

Select an object with a Mesh Renderer or Skinned Mesh Renderer, or the root of a character. Choose Add Component > Pixit Games > Highlight Kit > Highlightable.

An amber outline appears in Scene and Game views. Include Children is on by default.

  • Enable Override Color or Override Width for a custom outline.
  • Enable Override Fill and set Fill Color to draw a fill.
  • Enable Xray Enabled to reveal hidden parts behind walls.

Default outlines show visible parts only. Use X-Ray for hidden silhouettes.

4. Control selection from code

using PixitGames.HighlightKit;
using UnityEngine;

public class SelectableUnit : MonoBehaviour
{
    Highlightable _highlight;

    void Awake()
    {
        _highlight = GetComponent<Highlightable>();
        _highlight.SetOutline(false);
    }

    public void Select() => _highlight.SetOutline(true, new Color(1f, 0.15f, 0.3f));
    public void Deselect() => _highlight.SetOutline(false);
}

Call these methods from your selection or hover logic. Samples/Outline/OutlineDemo.unity includes OutlineHoverSelect, supporting either input system.

5. Show a ground indicator

Inside a component using the namespace above:

Indicator range = IndicatorSystem.ShowCircle(transform.position, 3f);
range.Progress = 0.5f;
// Keep the handle for later updates, then hide it when finished.
range.Hide();

Explore indicators for targeting and cast progress. Open Samples/Showcase/Showcase.unity to see all modules together.

Nothing appears?

Select the object. Use Fix or Open Setup in the Highlightable Inspector when the active renderer lacks the feature. See Troubleshooting.