FREE TRIAL

|

☀
☾

UIBlock2D.Texture

Texture

Retrieve the image texture previously assigned through SetImage(Texture2D) or in the Editor.

Remarks

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

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