- Home /
This question was
closed Aug 31, 2014 at 06:50 AM by
ODNSEV7N for the following reason:
Other
Stop MetaData coming up in FileInfo.
Gday.
I'm trying to find files with the code below, but for every image found it finds its metadata file.. (As the metafiles have .jpg at the end of the file).
Can I stop it from looking for the MetaData?
imagedir = new DirectoryInfo(_ImageFileLocation);
imageinfo = imagedir.GetFiles("*.jpg*");
for (file in imageinfo) print (file);
Thanks,Tim.
Comment
Answer by ODNSEV7N · Aug 11, 2014 at 05:42 AM
It's all good I found the problem.
Changed
`imageinfo = imagedir.GetFiles("*.jpg*");`
To
`imageinfo = imagedir.GetFiles("*.jpg");`
Follow this Question
Related Questions
Windows Phone 8.1 compiling problem 1 Answer
Project automatically reimports, changing GUIDs in the meta files. 0 Answers
Is it safe to share .meta files of scripts across multiple projects? 1 Answer
Are .meta files included in an APK if they are in StreamingAssets? 0 Answers
AssetBundle.LoadMainAssetAtPath not loading .meta files 1 Answer