UI.Image

static void Image(Sprite image, Vec2 size)

   
Sprite image A valid sprite.
Vec2 size Size in Hierarchy local meters. If one of the components is 0, it’ll be automatically determined from the other component and the image’s aspect ratio.

Adds an image to the UI!