HueShifter is a little Unity editor extension that lets you easily change the colors of UI elements in your project. Kinda cool, isn't it?
- Sync with theme color: Change the theme color and watch as all your UI elements automatically update. Magic!
- Customize each UI element: You can individually set the colors for buttons, sliders, toggles, dropdowns, input fields, scrollbars, and scroll rects. Total control!
- Save and load color schemes: Save your color scheme as a JSON file and load it later. Because who wants to do the same work twice?
To install HueShifter, follow these steps:
- Open your Unity project and go to the Unity Package Manager (Window > Package Manager).
- Click on the '+' button in the top left corner of the Package Manager window.
- Select 'Add package from git URL...'.
- Enter the following URL and press 'Add':
https://github.com/mik14a/HueShifter.git?path=Assets/Plugins/HueShifter
- Unity will now download and install the HueShifter package into your project.
Make sure that your Unity version is compatible with the package. HueShifter requires Unity 2019.4 or later.
- Go to Window > Change UI Schema in the Unity editor menu bar.
- The HueShifter window will pop up. This is where you set the colors for your UI elements.
- Check the Sync with Theme box and your UI elements will automatically update when you change the theme color.
- Adjust the following sliders to fine-tune your colors:
- Accent Lightness Factor: Adjust the lightness of the accent.
- Highlight Brightness: Adjust the brightness when highlighted.
- Disabled Saturation: Adjust the saturation when disabled.
- Selected Hue Shift: Adjust the hue shift when selected.
- Once you're happy with your settings, hit the "Apply Color" button to apply the changes. This button applies your color settings to all UI elements. Voila! Your UI is now color-coordinated!
This project is open source under the MIT license. Check out the LICENSE file for more details.