Hi Tony. I would like to change the Reticle in Range Raw Image component for a Sprite Renderer with an animation Controller.
How can I do it?
Change Raw Image Reticle
Re: Change Raw Image Reticle
Hi,
You can entirely remove the Reticle In Range / Reticle Out Of Range elements from your Standard UI Selector Elements.
If your Sprite Renderer is on the Usable GameObject (e.g., NPC), then configure the Usable component's OnSelect() and OnDeselect() UnityEvents to activate and deactivate a Sprite Renderer on your NPC.
If your Sprite Renderer is not specific to the Usable's position (e.g., centered on the screen in screen space), use the Select/ProximitySelector's OnSelectedUsable() and OnDeselectedUsable() events instead.
You can entirely remove the Reticle In Range / Reticle Out Of Range elements from your Standard UI Selector Elements.
If your Sprite Renderer is on the Usable GameObject (e.g., NPC), then configure the Usable component's OnSelect() and OnDeselect() UnityEvents to activate and deactivate a Sprite Renderer on your NPC.
If your Sprite Renderer is not specific to the Usable's position (e.g., centered on the screen in screen space), use the Select/ProximitySelector's OnSelectedUsable() and OnDeselectedUsable() events instead.
Re: Change Raw Image Reticle
Glad to help!