Provides a JSON compatible reference to an Image
Fields#
| Name | Description |
|---|
| Sprite | Sprite to display in UI |
| Source | Source of sprite data |
| Path | Path of sprite |
| Bundle Name | Asset Bundle containing sprite |
| Asset Name | Name of sprite in the bundle |
| Texture Info | Texture information for resource with multiple textures in sprite |
Methods#
| Name | Description |
|---|
| Clone | Creates a clone of this object |
| DataLoad | Load data from a stream |
| DataSave | Save data to a stream |
| GetImage | Gets Image from data, loading if needed |
| LoadImage | Loads Image from data |
| Matches | Checks of the data matches another ImageInfo |