For the reticle, why are we changing the width/height and not the scale (e.g. 0.25)? Does it actually matter? What’s the difference?
Hi,
Usually, we prefer not to use the scale for resizing UI elements. For UI elements, the width and height value of the Rect Transform determines the pixel size on our screen. (100, 100) is 100 x 100 px. If we scale that, we would have to do the maths. Furthermore, scaling might mess with the look of the sprite/texture on our screen because there is an algorithm running in the background which smoothes the sprite when we make it smaller with the width and height values. I do not know if it also takes the scaling into consideration. That’s something you would have to test yourself.
In the end, it is a matter of personal preference, though. If you prefer the scale, feel free to use it.
See also:
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.