-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Unity version:
Unity 6000.2.7f2.
FishNet Version:
4.6.18R Pro
Description:
Recursive flag is always ignored in generator when no excluded files are present. GetProjectFiles always uses SearchOption.AllDirectories.
Fixed:
internal static string[] GetProjectFiles(string startingPath, string fileExtension, List<string> excludedPaths, bool recursive)
{
// Opportunity to exit early if there are no excluded paths.
if (excludedPaths.Count == 0)
{
var searchOption = recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly;
string[] strResults = Directory.GetFiles(startingPath, $"*{fileExtension}", searchOption);
return strResults;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
