namespace XGame.Framework.Asset { public static class Define { public const string SIMULATE_ASSETBUNDLE_EDITOR_KEY = "SimulateAssetBundles"; /// /// 后缀名,scriptablebuildpipeline打的包没有后缀 /// public const string BUNDLE_VARIANT = "bundle"; /// /// 923527978 /// ProductAssetManifest.asset_AssetBundleManifest.asset_AssetReferenceManifest.asset生成 /// 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"; /// /// kcmanifest的偏移值 /// public const int MANIFEST_BUNDLE_OFFSET = 9; /// /// manifestBundle全名 /// public static string MANIFEST_BUNDLE_FULLNAME => string.IsNullOrEmpty(BUNDLE_VARIANT) ? MANIFEST_BUNDLE_NAME : $"{MANIFEST_BUNDLE_NAME}.{BUNDLE_VARIANT}"; } }