#unity/日常积累
可以先替换Asset/开头的路径;
!
string dirPath = Application.dataPath + m_PrefabDirLob + pathname.Replace("Assets/", "/"); if (!Directory.Exists(dirPath)) { Directory.CreateDirectory(dirPath); }