D
D
Dmitry Korolev2018-05-07 15:30:41
Unity
Dmitry Korolev, 2018-05-07 15:30:41

How to determine that the object variable contains a folder?

how to catch the path when I insert a video image or a folder into the objectfield through the inspector?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2018-05-07
@adressmoeistranici

string path = AssetDatabase.GetAssetPath(instance);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question