mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
Don't copy StreamingAssets if settings indicate to skip
This commit is contained in:
parent
8c2322a7e8
commit
025e670e8a
@ -1,4 +1,5 @@
|
||||
using AssetRipper.Export.Configuration;
|
||||
using AssetRipper.Import.Configuration;
|
||||
using AssetRipper.Import.Logging;
|
||||
using AssetRipper.Import.Structure.Platforms;
|
||||
using AssetRipper.Processing;
|
||||
@ -15,6 +16,11 @@ public class StreamingAssetsPostExporter : IPostExporter
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.ImportSettings.StreamingAssetsMode == StreamingAssetsMode.Ignore)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
string? inputDirectory = platform.StreamingAssetsPath;
|
||||
if (!string.IsNullOrEmpty(inputDirectory) && platform.FileSystem.Directory.Exists(inputDirectory))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user