From 6794bb89cb6a5116964724cf20e189f5a7ee8a15 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 26 七月 2023 21:17:14 +0800
Subject: [PATCH] 0312 资源 Mob文件夹改名Gmodels,鸿蒙系统下Mob会被当作缓存清理

---
 Assets/Editor/Actor/ActorEditor.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Assets/Editor/Actor/ActorEditor.cs b/Assets/Editor/Actor/ActorEditor.cs
index 8916cb4..a352bce 100644
--- a/Assets/Editor/Actor/ActorEditor.cs
+++ b/Assets/Editor/Actor/ActorEditor.cs
@@ -244,7 +244,7 @@
 
     private void ReAssetBundleName()
     {
-        string _path = Application.dataPath + "/ResourcesOut/Mob";
+        string _path = Application.dataPath + "/ResourcesOut/Gmodels";
         m_Path.Clear();
 
         GetFileList(_path);
@@ -257,7 +257,7 @@
         {
             int _length = 0;
             _assetPath = _filePath.Substring(_path.IndexOf("Assets"));
-            _temp = _filePath.Substring(_filePath.IndexOf("Mob") + 4);
+            _temp = _filePath.Substring(_filePath.IndexOf("Gmodels") + 8);
 
             if (_filePath.Contains("CreateRole"))
             {

--
Gitblit v1.8.0