D
D
Dmitry Korolev2016-12-24 22:48:06
C++ / C#
Dmitry Korolev, 2016-12-24 22:48:06

How to rename a folder in an asset database?

How to rename a folder in an asset database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Korolev, 2016-12-25
@adressmoeistranici

ret = AssetDatabase.RenameAsset("Assets/MyMaterials", "MyMaterialNew");
if(ret == "")
Debug.Log("Material asset renamed to MyMaterialNew");
else
Debug.Log(ret);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question