Samples Overview
The Sample Assets provide a collection of scenes and assets that demonstrate the features of Target Indicators.
They also include preconfigured scripts and prefabs for visual indicators. Use these assets directly for immediate implementation, or as templates for your custom variants.
Important
If you import the sample's starter assets and do not see text displayed in the scenes, you need to import the text mesh pro essentials. Navigate to Window > TextMeshPro > Import TMP Essential Resources and import.
Sample assets
The assets are grouped into two parts:
Core Assets
Core assets that are located in
Assets/Target Indicators/Samples/Core Assets
and contains the set of scripts, prefabs, and textures for you to use directly or as a foundation for your own visual indicators.Example Assets
Example assets that are located in
Assets/Target Indicators/Samples/Example Assets
and contains the scripts, prefabs, and other assets needed for the sample scenes to work such as a camera controller.
Visual indicators
The sample scenes rely on two main components for visualizing target indicators:
Visual indicator manager
This component interacts with the target indicator manager and handles instantiating visual indicator prefabs and updating their state. To learn more about how to setup and use the sample's visual indicator manager, refer to visual indicator manager component.
Visual indicator
This component gets attached to prefabs and is what the visual indicator manager instantiates for new visual indicators. To learn more about how to setup and use the sample's visual indicator, refer to visual indicator component.