Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 618 Bytes

Readme.md

File metadata and controls

19 lines (14 loc) · 618 Bytes

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.