how to set sprite to native size unity code example Example: unity gameobject sprite set native size in script TargetsGO.GetComponent<Image>().SetNativeSize();