Posted October 31, 2023 by Feniks
#update
I've updated the colour picker to optionally make use of a dictionary of saved colour swatches. This is most useful if you want to use the same picker to select multiple colours, and allow the player to easily switch between which colour they are choosing. The second example previously had one method of doing this, but it was a bit more roundabout and wasn't easily extendable. Now the second example has been updated with this new method. In theory, you could have an infinite number of swatches selected off the same picker with very little extra overhead.
If you don't need this functionality, you do not need to update. It is just an added feature release.
I hope this helps address your colour-picking needs! I'll be using this updated version in the next tool release 👀