Procházet zdrojové kódy

fixed error resulting in safe mode trigger

mbunch_kascope před 2 roky
rodič
revize
d4024f02c4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Assets/Editor/GetAsset.cs

+ 1 - 1
Assets/Editor/GetAsset.cs

@@ -44,7 +44,7 @@ public static class GetAsset
         List<T> assetList = new List<T>();
 
         //Get all files in the specified directory (including child directories)
-        string[] filePathArray = Directory.GetFiles(directoryPath, "*", SearchOption.AllDirectories);
+        string[] filePathArray = System.IO.Directory.GetFiles(directoryPath, "*", SearchOption.AllDirectories);
 
         //Add only assets from the acquired files to the list
         foreach (string filePath in filePathArray)