Publisher | Just Assets |
---|---|
File size | 399.25kB |
Number of files | 10 |
Latest version | 1 |
Latest release date | 2021-09-28 02:20:15 |
First release date | 2021-09-28 02:20:15 |
Supported Unity versions | 2018.4.2 or higher |
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.