|
@@ -18,6 +18,9 @@ namespace GFGGame
|
|
public static readonly string MUSIC_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Music";
|
|
public static readonly string MUSIC_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Music";
|
|
public static readonly string SOUND_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Sound";
|
|
public static readonly string SOUND_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Sound";
|
|
public static readonly string TEXTURE_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Texture";
|
|
public static readonly string TEXTURE_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Texture";
|
|
|
|
+ public static readonly string TEXTURE_DRESSUP_DIR_PATH = $"{TEXTURE_DIR_PATH}/DressUp";
|
|
|
|
+ public static readonly string TEXTURE_SCENEBG_DIR_PATH = $"{TEXTURE_DIR_PATH}/SceneBg";
|
|
|
|
+ public static readonly string TEXTURE_BGIMG_DIR_PATH = $"{TEXTURE_DIR_PATH}/BgImg";
|
|
public static readonly string ANIMATION_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Animation";
|
|
public static readonly string ANIMATION_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Animation";
|
|
public static readonly string EFFECT_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Effect";
|
|
public static readonly string EFFECT_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Effect";
|
|
public static readonly string Material_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Material";
|
|
public static readonly string Material_DIR_PATH = $"{RES_ROOT_DIR_PATH}/Material";
|
|
@@ -54,7 +57,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
public static string GetBgImgPath(string res, string extName = "png")
|
|
public static string GetBgImgPath(string res, string extName = "png")
|
|
{
|
|
{
|
|
- return $"{TEXTURE_DIR_PATH}/BgImg/{res}.{extName}";
|
|
|
|
|
|
+ return $"{TEXTURE_BGIMG_DIR_PATH}/{res}.{extName}";
|
|
}
|
|
}
|
|
public static string GetFightBgImgPath(string res, string extName = "png")
|
|
public static string GetFightBgImgPath(string res, string extName = "png")
|
|
{
|
|
{
|
|
@@ -62,8 +65,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
public static string GetSceneBgPath(string res, string extName = "jpg")
|
|
public static string GetSceneBgPath(string res, string extName = "jpg")
|
|
{
|
|
{
|
|
- return $"{TEXTURE_DIR_PATH}/SceneBg/{res}.{extName}";
|
|
|
|
- //return $"{TEXTURE_DIR_PATH}/DressUp/{res}.{extName}";
|
|
|
|
|
|
+ return $"{TEXTURE_SCENEBG_DIR_PATH}/{res}.{extName}";
|
|
}
|
|
}
|
|
public static string GetDressUpPath(ItemCfg itemCfg, int layerId)
|
|
public static string GetDressUpPath(ItemCfg itemCfg, int layerId)
|
|
{
|
|
{
|
|
@@ -76,7 +78,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
public static string GetDressUpPath(string res, string extName = "png")
|
|
public static string GetDressUpPath(string res, string extName = "png")
|
|
{
|
|
{
|
|
- return $"{TEXTURE_DIR_PATH}/DressUp/{res}.{extName}";
|
|
|
|
|
|
+ return $"{TEXTURE_DRESSUP_DIR_PATH}/{res}.{extName}";
|
|
}
|
|
}
|
|
public static string GetNpcPicSPath(string res, string extName = "png")
|
|
public static string GetNpcPicSPath(string res, string extName = "png")
|
|
{
|
|
{
|