Version: 2018.1

Image.SetNativeSize

Switch to Manual
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.