Change Sprite size in pixels.

Hi, is it possible to change size of sprites in pixels, not using the transform.scale?

I want to be able to change sprite height/width via script but I can’t use scaling. Optional example can be in both C# and UnityScript :).

Thanks in advance,
Paul

Camera orthogonal size, viewport resolution, and pixels-to-units are what you need to modify to get a pixel perfect mapping of sprite pixels to screen pixels.