Colour Picker Component
Last updated
Was this helpful?
Last updated
Was this helpful?
To use the Colour Picker in your UI, locate the Colour Picker Component Prefab from the Prefab folder, and drag to the Prefab into a Canvas Panel in your Scene Hierarchy .
Once the Colour Picker Component is in the Hierachy, simply add the Variable that your wish to change.This Variable must be defined as Color. The Variable will change on Mouse up when dragging the thumb button within the Colour Picker.
To use the Colour Variable, simply add a Trigger to your scene and set it On Variable Change. Add an Action to the Trigger which uses the Colour Variable and this will allow the Player to select their own colours from a settings panel.