Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/3
Draw road indicators. It allows for the creation, cancellation, and management of paths between various points in the game world.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.16f1
Not compatible
Compatible
Compatible
Description

The Road Indicator package provides functionality for managing indicator paths in Unity. It includes a RoadIndicatorManager class responsible for setting up and managing the indicator paths. Key features include:

  • Indicator Setup: The package allows setting indicator paths from the player's current position to designated destinations in the scene.
  • Path Visualization: It visualizes the calculated path using a LineRenderer, enabling users to see the path from start to finish.
  • Destination Management: Users can set destination points and customize parameters such as path width and destination point radius.
  • Path Control: The package provides methods for setting and canceling indicator paths, giving users control over path creation and deletion.
Technical details

Usage

  1. Drag and Drop: Road Indicator in your scene.
  2. Attach Script: Player Indicator: Assign a PlayerIndicator to the player GameObject.
  3. Create Location Indicators: Create an object or just assign a LocationIndicator to the point you want the player to go.
    Customize each LocationIndicator with a unique ID.
    If you have more than one location that represents one location such as multiple marketplaces make duplicate true so that when trying to set path it will select the nearest one to the PlayerIndicator.
  4. Set PathCall the SetIndicator(string id) method with the desired location ID that is assigned in LocationIndicator to create a path from the player's current position.
  5. Cancel Indicator Path: Call the CancelIndicator(string id) method to cancel the path to a specific destination.
    Example: RoadIndicatorManager.CancelIndicator("destination_id");
  6. EventsOnPathCompleted you can subscribe to OnPathCompleted to fire any custom scripts when the player reaches his destination.
    OnPathCanceled you can subscribe to OnPathCanceled to fire any custom scripts when the player cancels his destination.

3D Road Drawing

(not enough ratings)
8 users have favourite this asset
(8)
FREE
License type
File size
203.0 KB
Latest version
1.0
Latest release date
Apr 19, 2024
Original Unity version
2022.3.16
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR