Skip to content

Image

Variables

sprite

Image.sprite

Variable that holds the sprite reference for this image.

Example
Image.sprite = UI.GetSprite("missing")

color

Image.color

Variable that holds the color reference for this image.

Example
Image.color = UI.NewColor(1,1,1,1)

rectTransform

Image.rectTransform

Variable that holds the rectTransform reference for this image.

Example
Image.rectTransform

Comments