UI.Image

static void Image(Sprite image, Vec2 size)

Adds an image to the UI!

   
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.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!