Update ExportToProject.csx
This commit is contained in:
parent
4df8356b53
commit
a3efcf8774
1 changed files with 11 additions and 11 deletions
|
@ -17,11 +17,11 @@ TextureWorker worker = new TextureWorker();
|
|||
ThreadLocal<DecompileContext> DECOMPILE_CONTEXT = new ThreadLocal<DecompileContext>(() => new DecompileContext(Data, false));
|
||||
string gmxDeclaration = "This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!";
|
||||
|
||||
// if (Directory.Exists(projFolder))
|
||||
// {
|
||||
// ScriptError("A project export already exists. Please remove it.", "Error");
|
||||
// return;
|
||||
// }
|
||||
if (Directory.Exists(projFolder))
|
||||
{
|
||||
ScriptError("A project export already exists. Please remove it.", "Error");
|
||||
return;
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(projFolder);
|
||||
|
||||
|
@ -37,14 +37,14 @@ var resourceNum = Data.Sprites.Count +
|
|||
Data.Paths.Count +
|
||||
Data.Timelines.Count;
|
||||
|
||||
// // Export sprites
|
||||
// await ExportSprites();
|
||||
// Export sprites
|
||||
await ExportSprites();
|
||||
|
||||
// // Export backgrounds
|
||||
// await ExportBackground();
|
||||
// Export backgrounds
|
||||
await ExportBackground();
|
||||
|
||||
// // Export objects
|
||||
// await ExportGameObjects();
|
||||
// Export objects
|
||||
await ExportGameObjects();
|
||||
|
||||
// Export rooms
|
||||
await ExportRooms();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue