Quantcast
Channel: Latest Questions by Veehmot
Viewing all articles
Browse latest Browse all 38

Check if folder exists - Unity's way

$
0
0
- We have the **[FileUtil][1]** class that lets you do move, copy, delete operations over files or directories. - We have the **[AssetDatabase][2]** class that lets you create a new folder. - Is there any class that lets you check if a folder exists? Or should I use C# [**Directory.Exists**][3]? [1]: http://unity3d.com/support/documentation/ScriptReference/FileUtil.html [2]: http://unity3d.com/support/documentation/ScriptReference/AssetDatabase.html [3]: http://msdn.microsoft.com/en-us/library/system.io.directory.exists.aspx

Viewing all articles
Browse latest Browse all 38

Trending Articles



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