기술 자료

Unity Engine

Unity Engine

assetBundleManifestPath

The path to an manifest file describing all of the asset bundles used in the build (optional).
읽는 시간 1분최근 업데이트: 21일 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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 filename matching the parent directory name and ".manifest" as its extension. You can assign the path to this manifest file to
assetBundleManifestPath
to ensure that a player build does not strip any types used in the AssetBundles that you built.
You do not need to set this property when you use /link.xml/ files, or if you generate AssetBundles using the Addressables package.
See Managed code stripping for more information about code stripping.