yasirkula / UnitySimpleFileBrowser

A uGUI based runtime file browser for Unity 3D (draggable and resizable)
MIT License
819 stars 111 forks source link

[Help wanted] #26

Closed johntranz closed 3 years ago

johntranz commented 3 years ago

How to add default name when open dialog save file ? Ths so much

Platform specs

yasirkula commented 3 years ago

You can add this function to FileBrowser.cs and call it after showing the dialog:

public static void SetFilename( string filename )
{
    Instance.filenameInputField.text = filename;
}
johntranz commented 3 years ago

great answer