PackageIconAttribute.

PackageIconAttribute(string, string) Constructor

Summary

Ensures that the icon at the given url is downloaded into the specified filePath

Syntax

public PackageIconAttribute(string url, string filePath = null)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
url string The Url to download
filePath string The file path to download to, defaults to TemporaryDirectory / packageicon.[ext]

Return Value

Type Description
void