K
K
Kirill2022-04-15 13:34:54
C++ / C#
Kirill, 2022-04-15 13:34:54

What are the analogues of editorutility.openfilepanel?

I need some way to select a folder in the explorer and get the path to it. I used editorutility.openfilepanel but UnityEditor as I understand it doesn't work on build.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill, 2022-04-18
@kirilla39

I found a free explorer asset that also works for my problem. Who needs links to the asset and a small documentation on github:
https://assetstore.unity.com/packages/tools/gui/en...
https://github.com/yasirkula/UnitySimpleFileBrowser

G
GFX Data, 2022-04-15
@ShockWave2048

using System.Windows.Forms;
//
var fileDialog = new OpenFileDialog();
var res = fileDialog.ShowDialog();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question