文档

Unity Engine

Unity Engine

RemoveAssetPack(string)

Removes the specified Android asset pack from the device.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void RemoveAssetPack(string assetPackName)

Parameters

assetPackName

The name of the Android asset pack to remove.

Remarks

This method directly wraps Google's PlayCore plug-in API. If the PlayCore plug-in is missing, calling this method throws an
InvalidOperationException
.
If you call this method with any core Unity asset pack names that AndroidAssetPacks.GetCoreUnityAssetPackNames returns as a parameter, the method has no effect.