how to make a dynamic performant cursor

Hello,

I have a Cursor that contains around 40 Images (transparent png), and 6 of them will be visible the same time.
It is a Cursor that is always in the middle of the Screen.

What is more performant / fast / the best way?

Use 6 Gui Textures, each one can be set in a script from my 40 Images each in a public texture variable?

Or use my Canvas which I use already, and set them on 6 Images or raw Images?

What is most performant to Display?

Thanks a lot ! :slight_smile:
Firlefanz

When you say “Gui Textures”, are you referring to the component named GuiTexture? If so, don’t use that, period. GuiText and GuiTexture are super, super old, and have been completely supplanted by more modern UI systems in Unity twice (not even counting third party GUI libraries). I’m honestly a little surprised they still exist.

Use 6 Images, and make sure that all the images that can be used in it are part of the same sprite atlas. That way they can all be rendered as part of the same mesh. (Using RawImage will create 6 different meshes, which is slower.)

1 Like

That is a good Point! Thanks a lot