Skip to content

Commit

Permalink
added debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSimons committed Oct 21, 2024
1 parent 17f5f3d commit eade36e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ public void ProcessFile(string file)
var newFilePathRelative = Path.Combine(assetsFolderName, fileName + extension);
var newFilePathAbsolute = Path.Combine(assetsFolderPath, fileName + extension);

Debug.Log("checking if file exists: " + newFilePathAbsolute);
Debug.Log("file exists: " + File.Exists(newFilePathAbsolute));

// Find a unique file name if a file with the same name already exists
int index = 0;
while (File.Exists(newFilePathAbsolute))
Expand Down

0 comments on commit eade36e

Please sign in to comment.