Declaration
public static void DownloadImageByURI(string uri, Action<Texture2D> callback)
Parameters
Parameter Name | Parameter Description |
---|---|
url | URI of the image to be downloaded |
callback | Callback function triggered after the image is downloaded successfully. It will return the downloaded texture. |
Description
Downloads an image through its URI, and then converts it to the Texture2D texture. Downloads an image for management.