yasirkula / UnitySimpleFileBrowser

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

how do you add a link to user sub folder like C:\\Users\<username>\Pictures ? #78

Closed Crare closed 1 year ago

Crare commented 1 year ago

I can see you can do: FileBrowser.AddQuickLink( "Users", "C:\Users", null );

but how do you add a sub folder of the user logged in or so? I can see there is already sub folder Documents which is actually: C:\Users\\Documents

this won't work of course: FileBrowser.AddQuickLink( "Pictures", "C:\Pictures", null );

yasirkula commented 1 year ago

This might be what you're looking for: Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)