Beispiel #1
0
        private static void DeleteOtherPlatformDirectory(string rootDirectory, string targetPlatform)
        {
            var otherPlatforms = ResourceEditorHelper.CollectBrotherDirectoryNames(rootDirectory, targetPlatform);

            if (otherPlatforms == null)
            {
                return;
            }

            foreach (var otherPlatform in otherPlatforms)
            {
                var otherPlatformRootDirectory = ResourceSettings.CombinePath(rootDirectory, otherPlatform);
                ResourceEditorHelper.DeleteDirectory(otherPlatformRootDirectory);
            }
        }