Color Bindings
A Unity extension to store colors that are then automatically applied to UI components.
Unity Project
Built with Unity 2021.3.20f1 · download the source from GitHub

README
Color Bindings
A Unity extension to store colors that are then automatically applied to UI components.
Features
Currently the following basic Unity UI components are supported:
ImageTextMeshProUGUIButton
To add support for different components in your projects, use the class ColorBindingBase.
Installation
Install OpenUPM CLI
Run the following command in your Unity project folder
openupm add com.sandrofigo.colorbindings
Usage
- Create a bindable color via 'Assets -> Create -> UI -> Bindable Color'
- Add one of the 'Color Binding' components on an object where a supported component is located e.g. next to an
Imagecomponent - Drag the bindable color you created before into the color property on the color binding component
There is also a tool accessible via 'Tools -> Color Bindings Verification Tool' that can help you find components that are missing a color binding at runtime.
Collaboration
Support this project with a ⭐️, report an issue or if you feel adventurous and would like to extend the functionality open a pull request.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In