This is a small utility plugin for RimWorld mods, providing an effective and easy to use Colour Picker.
Note: odd colour banding is a GIF compression artifact.
-
Grab
0ColourPicker.dll
from the releases page, and add it to your mods' assemblies folder. -
Show
Dialog_ColourPicker
, providing a callback to apply the chosen colour;
Find.WindowStack.Add( new Dialog_ColourPicker( currentColour, ( newColour ) =>
{
// do something with the new colour.
} ) );
- Lean back, ColourPicker will handle the rest.