Property sprite
sprite
The sprite that is used to render this image.
Declaration
public Sprite sprite { get; set; }
Property Value
Type | Description |
---|---|
Sprite |
Remarks
This returns the source Sprite of an Image. This Sprite can also be viewed and changed in the Inspector as part of an Image component. This can also be used to change the Sprite using a script.