QuickMove!

Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2025-08-10 16:00:46 +08:00
parent 7b152a2ecd
commit 19ff2f4862
55 changed files with 343288 additions and 364537 deletions

View File

@@ -183,6 +183,41 @@ namespace Ichni
ES3.Load<CommandScripts_BM>("CommandScripts", EditorManager.instance.projectInformation.CommandScriptsPath,
ProjectManager.SaveSettings).ExecuteBM();
}
public void LoadExport(string projectName)
{
LoadProjectInfoExport(projectName);
LoadSongInfoExport(projectName);
LoadCommandScriptsExport(projectName);
LoadBeatMapExport(projectName);
LogWindow.Log("Load Export Complete,", new Color(0.5f, 0f, 1f));
LogWindow.Log("Please Save Your Project As You Can", new Color(0.5f, 0f, 1f));
}
private void LoadProjectInfoExport(string projectName)
{
string projectInfoPath = Application.streamingAssetsPath + "/Export/" + projectName + "/ProjectInfo.bytes";
ES3.Load<ProjectInformation_BM>("ProjectInformation", projectInfoPath, ProjectManager.ExportSettings).ExecuteBM();
}
private void LoadSongInfoExport(string projectName)
{
string songInfoPath = Application.streamingAssetsPath + "/Export/" + projectName + "/SongInfo.bytes";
ES3.Load<SongInformation_BM>("SongInformation", songInfoPath, ProjectManager.ExportSettings).ExecuteBM();
}
private void LoadBeatMapExport(string projectName)
{
string beatMapPath = Application.streamingAssetsPath + "/Export/" + projectName + "/Beatmap.bytes";
ES3.Load<BeatmapContainer_BM>("Beatmap", beatMapPath, ProjectManager.ExportSettings).ExecuteBM();
}
private void LoadCommandScriptsExport(string projectName)
{
string commandScriptsPath = Application.streamingAssetsPath + "/Export/" + projectName + "/CommandScripts.bytes";
ES3.Load<CommandScripts_BM>("CommandScripts", commandScriptsPath, ProjectManager.ExportSettings).ExecuteBM();
}
}
public class BeatmapClipManager