ドキュメント

Unity Engine

Unity Engine

assetBundleManifestPath

The path to a manifest file describing all the AssetBundles used in the build (optional).
読み終わるまでの所要時間 1 分最終更新 20日前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public string assetBundleManifestPath { readonly get; set; }

Remarks

When you call BuildPipeline.BuildAssetBundles to create your AssetBundles, Unity will also generate a .manifest file with a file name matching the parent directory. You can assign the path to this manifest file to
assetBundleManifestPath
to ensure that a player build doesn't strip any types used in your AssetBundles.
You don't need to set this property when using
link.xml
files, or when generating AssetBundles using the Addressables package.
For more information about code stripping, refer to Managed code stripping.