Answers for "unity create dor"

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

C# Answers by Framework

Browse Popular Code Answers by Language