Assets/FlexibleColorPicker/Scripts/FlexibleColorPicker.cs
/// <summary>
/// Update color based on the pointer position in the currently focused picker.
/// </summary>
/// <param name="e">Pointer event</param>
Update color based on the pointer position in the currently focused picker.
Update color based on the pointer position in the currently focused picker .
public void PointerUpdate(BaseEventData e) {
        Vector2 v = GetNormalizedPointerPosition(canvas, focusedPicker.image.rectTransform, e);
        this.bufferedColor = PickColor(this.bufferedColor, focusedPickerType, v);
        UpdateMarkers();
        UpdateTextures();
        typeUpdate = true;
        UpdateHex();
    }
public void PointerUpdate ( BaseEventData e ) { Vector2 v = GetNormalizedPointerPosition ( canvas , focusedPicker . image . rectTransform , e ) ; this . bufferedColor = PickColor ( this . bufferedColor , focusedPickerType , v ) ; UpdateMarkers ( ) ; UpdateTextures ( ) ; typeUpdate = true ; UpdateHex ( ) ; }
Update color based on the pointer position in the currently focused picker.
Update color based on the pointer position in the currently focused picker .
e
BaseEventData
None