Answers for "unity create folder only if not exists"

C#
1

unity create folder only if not exists

using System.IO;
  //check if directory doesn't exit
 if(!Directory.Exists(directoryPath))
 {    
     //if it doesn't, create it
     Directory.CreateDirectory(directoryPath);
  }
Posted by: Guest on September-22-2020

Code answers related to "unity create folder only if not exists"

C# Answers by Framework

Browse Popular Code Answers by Language