Browse Source

添加剧情cg路径

leiyasi 1 year ago
parent
commit
c7440d79ef
1 changed files with 5 additions and 0 deletions
  1. 5 0
      GameClient/Assets/Game/HotUpdate/Utils/ResPathUtil.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Utils/ResPathUtil.cs

@@ -254,5 +254,10 @@ namespace GFGGame
         {
             return $"{STUDIO_FILING_DIR_PATH}{res}.{extName}";
         }
+
+        public static string GetStoryDialogCGPath(string res, string extName = "prefab")
+        {
+            return $"{ANIMATION_DIR_PATH}/CG/{res}/{res}.{extName}";
+        }
     }
 }