AndroidAssetPacks.RemoveAssetPack

Declaration

public static void RemoveAssetPack(string assetPackName);

Parameters

assetPackName The name of the Android asset pack to remove.

Description

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. Additional resources: AndroidAssetPacks.DownloadAssetPackAdync.


Did you find this page useful? Please give it a rating: