| | |
| | | for (int i = 0; i < assetBundles.Length; i++)
|
| | | {
|
| | | var bundleName = assetBundles[i];
|
| | | if (bundleName.StartsWith("gmodels") || bundleName.StartsWith("effect") || bundleName.StartsWith("graphic"))
|
| | | if (bundleName.StartsWith("hero") || bundleName.StartsWith("uieffect") || bundleName.StartsWith("graphic"))
|
| | | {
|
| | | targetAssetBundles.Add(bundleName);
|
| | | }
|
| | |
| | |
|
| | | var excludeFileFullNames = new List<string>();
|
| | | var tempFiles = new List<FileInfo>();
|
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(_assetBundlePath, "/gmodels"), tempFiles);
|
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(_assetBundlePath, "/hero"), tempFiles);
|
| | | foreach (var file in tempFiles)
|
| | | {
|
| | | var extersion = Path.GetExtension(file.FullName);
|
| | |
| | | }
|
| | |
|
| | | tempFiles.Clear();
|
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(_assetBundlePath, "/effect"), tempFiles);
|
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(_assetBundlePath, "/uieffect"), tempFiles);
|
| | | foreach (var file in tempFiles)
|
| | | {
|
| | | var extersion = Path.GetExtension(file.FullName);
|
| | |
| | | |
| | | var excludeFileFullNames = new List<string>(); |
| | | var tempFiles = new List<FileInfo>(); |
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(assetPath, "/gmodels"), tempFiles); |
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(assetPath, "/hero"), tempFiles); |
| | | foreach (var file in tempFiles) |
| | | { |
| | | var extersion = Path.GetExtension(file.FullName); |
| | |
| | | } |
| | | |
| | | tempFiles.Clear(); |
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(assetPath, "/effect"), tempFiles); |
| | | FileExtersion.GetAllDirectoryFileInfos(StringUtility.Contact(assetPath, "/uieffect"), tempFiles); |
| | | foreach (var file in tempFiles) |
| | | { |
| | | var extersion = Path.GetExtension(file.FullName); |
| | |
| | | {
|
| | | var path = AssetDatabase.GUIDToAssetPath(guid);
|
| | | var importer = AssetImporter.GetAtPath(path);
|
| | | importer.assetBundleName = "ui";
|
| | | importer.assetBundleName = "ui/ui";
|
| | |
|
| | | // EditorUtility.SetDirty(importer);
|
| | | }
|
| | |
| | | {
|
| | | var importerPath = prefabAssetRelativePath + Path.DirectorySeparatorChar + file.Name;
|
| | | var importer = AssetImporter.GetAtPath(importerPath);
|
| | | importer.assetBundleName = "uicomp";
|
| | | importer.assetBundleName = "ui/uicomp";
|
| | | // EditorUtility.SetDirty(importer);
|
| | | }
|
| | |
|
| | |
| | | |
| | | #region 具体asset资源读取路径 |
| | | |
| | | public static readonly string MOB_FOLDER_NAME = "gmodels/"; |
| | | public static readonly string MOB_FOLDER_NAME = "hero/"; |
| | | |
| | | public static readonly string EFFECT_Folder_Name = "effect/"; |
| | | public static readonly string EFFECT_Folder_Name = "uieffect/"; |
| | | |
| | | public static readonly string UI_SPRITE_SUFFIX = "Sprite"; |
| | | public static readonly string UI_TEXTURE_SUFFIX = "Texture"; |
| | |
| | | m_KeystoreAlias: wgyx |
| | | m_KeystoreAliasPassword: wgyx2025 |
| | | m_AppleDeveloperTeamID: |
| | | m_DebugVersion: 1 |
| | | m_DebugVersion: 0 |
| | | m_IsBanShu: 0 |
| | | m_BuildTime: |
| | | m_BuildIndex: 6 |
| | |
| | | {"m_AppId":"test","m_SpID":"","m_VersionAuthority":0,"m_Version":"1.0.1","m_ClientPackageFlag":"2021","m_Branch":1,"m_AssetAccess":3,"m_PartAssetPackage":false,"m_ProductName":"像素三国","m_BundleIdentifier":"com.wgyx.xssg","m_KeystoreFileName":"wgyx","m_KeystorePassword":"wgyx2025","m_KeystoreAlias":"wgyx","m_KeystoreAliasPassword":"wgyx2025","m_AppleDeveloperTeamID":"","m_DebugVersion":false,"m_IsBanShu":false,"m_BuildTime":"","m_BuildIndex":6,"m_LogoPosition":{"x":-32.0,"y":144.0},"m_BanHao":"","m_SdkFileName":""} |
| | | {"m_AppId":"test","m_SpID":"","m_VersionAuthority":0,"m_Version":"1.0.1","m_ClientPackageFlag":"2021","m_Branch":1,"m_AssetAccess":3,"m_PartAssetPackage":false,"m_ProductName":"像素三国","m_BundleIdentifier":"com.wgyx.xssg","m_KeystoreFileName":"wgyx","m_KeystorePassword":"wgyx2025","m_KeystoreAlias":"wgyx","m_KeystoreAliasPassword":"wgyx2025","m_AppleDeveloperTeamID":"","m_DebugVersion":true,"m_IsBanShu":false,"m_BuildTime":"","m_BuildIndex":6,"m_LogoPosition":{"x":-32.0,"y":144.0},"m_BanHao":"","m_SdkFileName":""} |