GithubHelp home page GithubHelp logo

mic-code / unity3d-rainbow-folders Goto Github PK

View Code? Open in Web Editor NEW

This project forked from borod4r/unity3d-rainbow-folders

0.0 1.0 0.0 3.27 MB

This asset allows you to set custom icons for any folder in unity project browser.

License: Apache License 2.0

C# 100.00%

unity3d-rainbow-folders's Introduction

Unity3D Rainbow Folders

License Donate

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:

Browser window example Browser window example Browser window example

Installing

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.

Browser window example

Once the Importing dialog appears, just click the Import button.

Folder location

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:

Browser window example

Configuring folder icons

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.

Alt-click example

Configuration dialogue will appear, and you'll be able to assign icons to the corresponding folder.

Configuration dialog

What you need to configure for each folder item, are these fields:

  • Folder Name - icon will be applied to all folders with that name.
  • or Folder Path - icon will be applied to a single folder with specified path.
  • Recursive checkbox - subfolders icons will be changed automatically

Then you need to specify actually icons:

  • Small Icon - custom icon for the left panel of the project browser (16x16 px)
  • Large Icon - custom icon for the right panel of the project browser (64x64 px)

Your changes will be applied next time when the project browser will retrieve the focus.

Presets

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.

Configuration dialog Configuration dialog

Revert to default

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.

Configuration dialog

Multi-editing

You can also edit multiple folders at once, just select them all and Alt-click at one of their icons.

Configuration dialog

Configs List

To view all existing assignments, click on the gear button in the configuration dialog, then take a look at the Inspector.

Configuration dialog

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.

Configuration dialog

If there is more than one config for the same folder (including recursive assignments), then latest (lowest) item in the list will be applied.

Context menu

All the above functionality is also available via the context menu.

Configuration dialog

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.

Upgrading

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.

  • Backup your settings file (optional): Assets/.../RainbowFolders/Editor/Data/RainbowFoldersSettings.asset
  • Delete the Assets/.../RainbowFolders folder.
  • Delete the Assets/Editor Default Resources/RainbowFolders folder, if exists.
  • Import the new version from package or from the Asset Store.
  • Restore your settings file.

Support us

Donate

The Rainbow Folders asset is donationware. If you want to support future development or just say "thanks" to the autors, please buy it on the Asset Store.

Reviews are also highly appreciated. Thank you!

unity3d-rainbow-folders's People

Contributors

borod4r avatar cmilr avatar gitter-badger avatar mathiasdella avatar ninpl avatar tarasosiris avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.