chicken_dy/Assets/Scripts/Const/Const.Path.cs

46 lines
1.5 KiB
C#
Raw Permalink Normal View History

2022-02-09 08:35:01 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public partial class Const
{
public static class Path
{
public static string GetFilm(int pLevelID)
{
return string.Format("Film/{0}", (pLevelID + 1).ToString());
}
public static string GetLevelIconBig(int pLevelID)
{
2022-02-16 10:53:13 +00:00
return string.Format("Image/LevelIcon_Big/{0}", (pLevelID + 1).ToString("D3"));
2022-02-09 08:35:01 +00:00
}
public static string GetLevelIconSmall(int pLevelID)
{
2022-02-16 10:53:13 +00:00
return string.Format("Image/LevelIcon_Small/{0}", (pLevelID + 1).ToString("D3"));
2022-02-09 08:35:01 +00:00
}
public static string GetLevelLogo(int pLevelID)
{
2022-02-16 10:53:13 +00:00
return string.Format("Image/LevelLogo/{0}", (pLevelID + 1).ToString("D3"));
2022-02-09 08:35:01 +00:00
}
public static string GetSoundPic(int pLevelID, int pSoundIndex)
{
2022-02-16 10:53:13 +00:00
string tLevelIDStr = (pLevelID + 1).ToString("D3");
2022-02-09 08:35:01 +00:00
return string.Format("Image/SoundPic/{0}/{1}", tLevelIDStr, tLevelIDStr + "_" + (pSoundIndex + 1).ToString());
}
public static string GetSound(int pLevelID, int pSoundIndex)
{
2022-02-16 10:53:13 +00:00
string tLevelIDStr = (pLevelID + 1).ToString("D3");
2022-02-09 08:35:01 +00:00
return string.Format("Audio/GameSound/{0}/{1}", tLevelIDStr, tLevelIDStr + "_" + (pSoundIndex + 1).ToString());
}
2022-02-10 09:21:59 +00:00
public static string GetNumPicA(string pNum)
{
return string.Format("Image/NumPic/NumA_{0}", pNum);
}
2022-02-09 08:35:01 +00:00
}
}