Uni Color Picker by sanukin39 - 9

Games & ProjectsExtensions

Simple, light weight color picking module for Unity

Unity 2019.2.2f1MIT LicenseUpdated 19 days agoCreated on October 10th, 2019
Go to source

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

Show all projects by sanukin39