Target Indicators
Search Results for

    Show / Hide Table of Contents

    Target Indicators

    Target Indicators is a Unity package that enables you to create visual indicators to track world-space targets. Guide users to points of interest, waypoints, or other in-game places. Customize indicators to fit your project's style and requirements.

    The package integrates with any UI system, offering an API to calculate and bound screen-space positions for any target. It includes ready-to-use Sample Assets for a quick, low-code setup, also serving as an excellent references for building fully custom visual indicators.

    Note

    Get Target Indicators on the Unity Asset Store.

    A screenshot from the sample's "Multiple Target Indicator Categories Demo" scene showing what target indicators are.

    Highlights

    Target indicators focuses on simplicity and high performance. The following highlights are what you can expect from this package:

    • Supports rectangle and ellipse screen bounds clamping
    • Supports rectangle and ellipse absolute size clamping
    • Supports compass tape clamping
    • Supports unbounded clamping
    • Works with any UI system*
    • Highly configurable at edit and runtime
    • No heap allocations after initialization
    • Does not rely on Object.Find or any variations of scene searching at runtime
    • Does not rely on GetComponent
    • Supports fast enter play mode (no domain reload when entering Play Mode)
    • Simple and minimal sample scenes
    • Works with traditional displays and XR HMDs
    Note

    *The package has a dependency on com.unity.ugui to support the sample scenes but you are not required to use uGUI to work with target indicators.

    Dependencies

    The following dependencies are required for target indicators.

    Unity version

    • Unity 6000.0 or newer

    Packages

    • com.unity.inputsystem 1.14.0 for samples
    • com.unity.ugui 2.0.0 for samples
    In this article
    Back to top Generated by DocFX