Version: 2022.1

AndroidAssetPacks.CancelAssetPackDownload

切换到手册
public static void CancelAssetPackDownload (string[] assetPackNames);

参数

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

描述

Cancels Android asset pack downloads.

This method directly wraps Google's PlayCore plugin API. If the PlayCore plugin is missing, calling this method throws an InvalidOperationException exception. See Also: AndroidAssetPacks.DownloadAssetPackAsync.