Pixel per unit

Just curious,
1.why rick make every pixel per unit is different each sprites?
why not make all same? I believe it will make sprite setup easier?

  1. Please check my image below

image
is this right setup? why my canvas lot bigger and The button for the next stage is so big? but when game mode it looks perfectly okay.

Hi finnfirrior,

Thank you for your questions.

1.why rick make every pixel per unit is different each sprites?
why not make all same? I believe it will make sprite setup easier?

It probably would but not everybody is an artist or wants to learn how to use GIMP or another bitmap editor. For this reason, Rick shows a solution which works within Unity.

is this right setup? why my canvas lot bigger and The button for the next stage is so big?

You did everything correctly. In Unity, the canvas box is usually way bigger than the camera viewport. That’s how the Unity programmer defined it years ago. I don’t know why they did it this way.

When I design UIs in Unity, I usually keep the game window open, so I can see if the result looks as expected.

Did this clear it up for you? :slight_smile:


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms