ParaImageService.DownloadImageByURI

Declaration

public static void DownloadImageByURI(string uri, Action<Texture2D> callback)

Parameters

Parameter NameParameter Description
urlURI of the image to be downloaded
callbackCallback 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.