Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

mdsn GetFiles function doesnt want to compile.

$
0
0
this works:

Code (csharp):
  1.   var path1 = System.IO.Directory.GetFiles(Application.dataPath, "c*");
And this doesnt compile, no function match:

Code (csharp):
  1.    var path1 = System.IO.Directory.GetFiles(Application.dataPath, "c*", SearchOption.AllDirectories);
in ,js they should both work, should i send a bugreport to bugs@unity3d. c0m?



No appropriate version of 'System.IO.Directory.GetFiles' for the argument list '(String, String, System.IO.SearchOption)' was found.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>