디렉토리 추출 string strDirectory = Path . GetDirectoryName(p_rFileName); 폴더가 있나 검사해서 생성 if ( !System . IO. Directory .Exists( gTriggerAssetsPaht)) { System . IO. Directory .CreateDirectory( gTriggerAssetsPaht); } 파일 목록 가져오기 string path = "Assets/Resources/Vehicles"; // make file path DirectoryInfo dir = new DirectoryInfo( path ); FileInfo[] info = dir.GetFiles("*.prefab"); //info.Select(f => f.FullNa..