FREE TRIAL

|

☀
☾

UIBlock2D.Sprite

Sprite

Retrieve the sprite previously assigned through SetImage(Sprite) or in the Editor.

Remarks

Will be null if the image is actually a UnityEngine.Texture2D or UnityEngine.RenderTexture.

Declaration
public UnityEngine.Sprite Sprite { get; }
See Also
Texture
RenderTexture
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC