D
D
Dmitry Korolev2018-06-20 09:57:17
Unity
Dmitry Korolev, 2018-06-20 09:57:17

How to point to the root of a folder in the Project window?

In a certain case, I need to open a folder in Project after I have called
EditorUtility.FocusProjectWindow();
how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2018-06-20
@adressmoeistranici

Selection.activeObject=AssetDatabase.LoadAssetAtPath("Assets/Prefabs/"+prefabName+".prefab");
or something like that.
in general, look for it in Selection. and try to highlight it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question