Quantcast
Channel: Latest Questions by karl_
Viewing all articles
Browse latest Browse all 90

Rename a folder via code

$
0
0
I need to rename a folder at compile time. Specifically, as part of a build script. I've tried renaming with the command line then force re-importing assets as well as using an editor script with `Directory.Move`. Both work, but result in meta file errors and broken links in materials and prefabs. Is there something like `AssetDatabase.Rename` for folders that I can use?

Viewing all articles
Browse latest Browse all 90

Latest Images

Trending Articles





Latest Images