Easy Asset Search

3D Target Cursor Marker

3D Target Cursor Marker Asset Image * This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $4.99
Category:
3DGui
Developer:
Just Assets
Price:
$4.99
Favorites:
27
Supported Unity Versions:
2019.4.28 or higher
Current Version:
1.0
Download Size:
399.25 KB
Last Update:
Sep 28, 2021
Description:

A simple 3D target cursor

  • No textures needed
  • Color can be adjusted
  • Just uses an animation clip
  • works with LWRP/HDRP/classic pipeline (material needs to be converted) - no custom shader

Includes a sample project on how to use it with e.g. a NavMeshAgent.

Simple example code

// Cache it. 

FeedbackPointer _feedbackPointer = new FeedbackPointer(); 

// Initialize it. 

_feedbackPointer.PreparePointer(_moveToIndicator, _feedbackPointerScale); 

// Use it with a 3D position. 

_feedbackPointer.ShowPointer(navHit.position)

Tested in 2018.x to 2021.x but should also work in older Unity versions.

Technical Details:

Just an animated prefab with a single material and a script placing the prefab on the NavMesh.

Continue »

Similar Packages