Table of Contents

Class UIColourField

Namespace
PAC.UI
public class UIColourField : MonoBehaviour
Inheritance
UIColourField

Properties

colour

public Color colour { get; }

Property Value

Color

colourPickerOpen

public bool colourPickerOpen { get; }

Property Value

bool

outlineThickness

public float outlineThickness { get; }

Property Value

float

Methods

CloseColourPicker()

public void CloseColourPicker()

OpenColourPicker()

public void OpenColourPicker()

SetColour(Color)

public void SetColour(Color colour)

Parameters

colour Color

SubscribeToColourChange(UnityAction)

public void SubscribeToColourChange(UnityAction call)

Parameters

call UnityAction

SubscribeToColourPickerClose(UnityAction)

public void SubscribeToColourPickerClose(UnityAction call)

Parameters

call UnityAction

SubscribeToColourPickerOpen(UnityAction)

public void SubscribeToColourPickerOpen(UnityAction call)

Parameters

call UnityAction