This asset allows you to set custom icons for any folder in unity project browser.
This project is discontinued and deprecated. Unfortunately, our benefit from the open source project was too low to justify the extra effort to keep it alive.
Meanwhile, development continues and new versions of the Rainbow Folders are now available exclusively on the Asset Store
Now back to original README content…
All our code in this repo is covered under Apache 2.0 license:
https://www.apache.org/licenses/LICENSE-2.0
All our icons, images and other artwork is covered under Creative Commons Attribution-NonCommercial 4.0 International licesnse:
https://creativecommons.org/licenses/by-nc/4.0/
Have you ever thought about highlighting often used project folders? This simple but colorful asset allows you to do that!
With “Rainbow Folders” you can set custom icon for any folder in unity project browser:
Rainbow Folders is a standard Unity extension and should be installed like any other Unity package. Just drag the RainbowFolders.unitypackage into your current project, or in the Editor go to the drop-down menu Assets → Import Package → Custom Package and then browse to the RainbowFolders.unitypackage file.
When downloading from the Asset Store then Download Manager will automate this process.
Once the Importing dialog appears, just click the Import button.
The package will be imported into the Assets/Plugins/RainbowFolders
folder by default. Most users prefer to keep it here, but you can freely move it wherever you want. Just go to Edit → Preferences → Rainbow Folders and update the folder location:
To apply custom icon for some folder in your project view, just hold the Modifier key and click on any folder icon in Unity project browser. By default, it’s the Alt key, but you can change it in Preferences.
Configuration dialogue will appear, and you’ll be able to assign icons to the corresponding folder.
What you need to configure for each folder item, are these fields:
Then you need to specify actually icons:
Your changes will be applied next time when the project browser will retrieve the focus.
You can choose icons from few dozen of presets. Simply click on the star button in configuration dialog, select one of them from the drop-down menu and apply changes.
To reset the folder icon to the default one, just Alt-click on it, then press the red cross button in configuration dialogue and apply changes.
You can also edit multiple folders at once, just select them all and Alt-click at one of their icons.
To view all existing assignments, click on the gear button in the configuration dialog, then take a look at the Inspector.
There is reorderable list with all defined “folder” configurations. You can modify existing items, remove them using “-“ button or add new ones by clicking “+” button below.
If there is more than one config for the same folder (including recursive assignments), then latest (lowest) item in the list will be applied.
All the above functionality is also available via the context menu.
Right-click on any folder in project view and select Rainbow Folders → Apply Custom to open configuration dialogue.
The Rainbow Folders → Revert to Default item will reset corresponding folder icon to the default one.
With Color, Tag, Type and Platform sub-items you can easily apply custom icons from few dozen of presets, right from the context menu.
Select Rainbow Folders → Settings to view all existing assignments in the inspector.
Please always do a clean import of the Rainbow Folders package (delete the old version before importing the new one). Otherwise, you may receive a number of difficult to diagnose issues.
Assets/.../RainbowFolders/Editor/Data/RainbowFoldersSettings.asset
Assets/.../RainbowFolders
folder.Assets/Editor Default Resources/RainbowFolders
folder, if exists.