public LevelData GetLevel(int id) { if (mLevel == null) { mLevel = new DlcLevelMng(U3D.GetDefaultFile(Path, FileExt.Json, true, true)); } return(mLevel.GetLevel(id)); }
public LevelDatas.LevelDatas GetItem(int id) { if (mLevel == null) { mLevel = new DlcLevelMng(U3D.GetDefaultFile(Path, 2, true, true)); } return(mLevel.GetLevel(id)); }
//是否已安装(dll能否正常加载,并产出具体得LevelScriptBase) public List <LevelData> LoadAll() { //level.json if (mLevel == null) { mLevel = new DlcLevelMng(U3D.GetDefaultFile(Path, FileExt.Json, true, true)); } return(mLevel.GetAllLevel()); }
//是否已安装(dll能否正常加载,并产出具体得LevelScriptBase) public List <LevelDatas.LevelDatas> LoadAll() { //level.txt if (mLevel == null) { mLevel = new DlcLevelMng(U3D.GetDefaultFile(Path, 2, true, true)); } return(mLevel.GetAllLevel()); }