Skip to content

fluffy-mods/ColourPicker

Repository files navigation

ColourPicker

This is a small utility plugin for RimWorld mods, providing an effective and easy to use Colour Picker.

preview
Note: odd colour banding is a GIF compression artifact.

How to use

  1. Grab 0ColourPicker.dll from the releases page, and add it to your mods' assemblies folder.

  2. 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.
    } ) );
  1. Lean back, ColourPicker will handle the rest.