79781062

Date: 2025-10-02 15:22:57
Score: 1
Natty:
Report link

how to calculate the scale size of sprite as per above info so that sprite look good

If your sprite is rendered by a Sprite Renderer component, and you know the pixel dimensions at which it "looks good", there's a nice trick you can use to "calculate the scale size" corresponding to those dimensions.

enter image description here

Change the Draw Mode to Sliced in the inspector. Then change the Scale to x: 1, y: 1, z: 1. Then input the size that you like under "Size".

Now when you change the Draw Mode to Simple, the Scale will automatically become the way you want it.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: TOM