Skip to content

An Object Picker element where you can specify a path to show only the assets in that directory.

License

Notifications You must be signed in to change notification settings

rk-exxec/unity-folder-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-folder-picker

A UI Toolkit Object Field that allows you to specify a path to show only the assets in that directory in the Object Picker.

Requires Unity's UI Toolkit.

Installation

Simply add all files under the Assets/Editor folder to your project's Editor folder.
The Script FolderPickerDemo.cs is an example of how to use the FolderPicker. It needs a reference to the ObjectPickerFolder.uxml file to open the UI. Add it by clicking the script and then selecting the uxml file as the Main UI Template

You can also just clone the repo and open the project in Unity.

Usage

In the toolbar click Tools -> FolderPickerDemo to open the demo EditorWindow. Open the picker dialog with the edit button to the right of the object field.

About

An Object Picker element where you can specify a path to show only the assets in that directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages