123456789101112131415161718192021222324252627282930 |
- namespace XGame.Framework.Asset
- {
- public static class Define
- {
- public const string SIMULATE_ASSETBUNDLE_EDITOR_KEY = "SimulateAssetBundles";
- /// <summary>
- /// 后缀名,scriptablebuildpipeline打的包没有后缀
- /// </summary>
- public const string BUNDLE_VARIANT = "bundle";
- /// <summary>
- /// 923527978
- /// ProductAssetManifest.asset_AssetBundleManifest.asset_AssetReferenceManifest.asset生成
- /// </summary>
- public const string MANIFEST_BUNDLE_NAME = "923527978";
- public const string ASSET_BUNDLE_MANIFEST = "AssetBundleManifest";
- public const string SCENE_BUNDLE_MANIFEST = "SceneAssetBundleManifest";
- public const string ASSET_REFERENCE_MANIFEST = "AssetReferenceManifest";
- public const string PRODUCT_ASSET_MANIFEST = "ProductAssetManifest";
- public const string BUILTIN_ASSET_MANIFEST = "BuiltInAssetManifest";
- public const string ALPHA_TEXTURE_MANIFEST = "AlphaTextureManifest";
- /// <summary>
- /// kcmanifest的偏移值
- /// </summary>
- public const int MANIFEST_BUNDLE_OFFSET = 9;
- /// <summary>
- /// manifestBundle全名
- /// </summary>
- public static string MANIFEST_BUNDLE_FULLNAME => string.IsNullOrEmpty(BUNDLE_VARIANT) ? MANIFEST_BUNDLE_NAME : $"{MANIFEST_BUNDLE_NAME}.{BUNDLE_VARIANT}";
- }
- }
|