Sprite.texture⚓︎
Read-Only
This property is Read-Only
Name | Type |
---|---|
texture | Texture2D |
Description⚓︎
Get the reference to the used Texture. If packed this will point to the atlas, if not packed will point to the source Sprite.
Extra Detail⚓︎
This only returns the Texture the Sprite is currently using. You cannot change the Texture using this.