Image.SetNativeSize

public void SetNativeSize();

Description

Adjusts the image size to make it pixel-perfect.

This means setting the Images RectTransform.sizeDelta to be equal to the Sprite dimensions.

Did you find this page useful? Please give it a rating: