Version: 2021.1
public static void RemoveAssetPack (string assetPackName);

参数

assetPackName The name of the Android asset pack to remove.

描述

Removes Android asset pack.

This method directly wraps Google's PlayCore plugin API. If the PlayCore plugin is missing, calling this method throws an InvalidOperationException exception. If you call this method with any core Unity asset pack names (those that AndroidAssetPacks.GetCoreUnityAssetPackNames returns) as a parameter, the method does nothing. See Also: AndroidAssetPacks.DownloadAssetPackAdync.