文档

Unity Engine

Unity Engine

CancelAssetPackDownload(string[])

Cancels Android asset pack downloads.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void CancelAssetPackDownload(string[] assetPackNames)

Parameters

assetPackNames

The array of names of the Android asset packs to cancel the download for.

Remarks

This method directly wraps Google's PlayCore plug-in API. If the PlayCore plug-in is missing, calling this method throws an
InvalidOperationException
.