Skip to content

Simple, light weight color picking module for Unity

License

Notifications You must be signed in to change notification settings

sanukin39/UniColorPicker

Repository files navigation

UniColorPicker

Overview

Simple Color Picker For Unity. It works on uGUI and supports mobile platforms.

Demo

Demo

Requirement

Unity 2017 or higher

Usage

Add color picker to scene

Add UniColorPicker/UniColorPicker.prefab into canvas at scene.

How to get/set color

using UniColorPicker;
using UnityEngine;

public class ColorPickerExample : MonoBehaviour
{
    [SerializeField] ColorPicker _colorPicker = null;

    void Example()
    {
        // Set Color To Picker
        var initialColor = Color.red;
        _colorPicker.Color = initialColor;
        
        // Get Color From Picker
        var editedColor = _colorPicker.Color;
    }
}

Install

use unitypackage at release page

Licence

MIT

Author

sanukin39

About

Simple, light weight color picking module for Unity

Resources

License

Stars

Watchers

Forks

Packages

No packages published