Table of Contents

Class ColorPalette

Namespace
Reko.ColorPicker
Assembly
ColorPicker.dll
public class ColorPalette : MonoBehaviour, IColorPalette, ISingleInput<Color>
Inheritance
ColorPalette
Implements
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentsInParent<T>()
Component.GetComponentIndex()
Component.transform
Component.gameObject
Component.tag
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.name
Object.hideFlags

Properties

Colors

public IEnumerable<Color> Colors { get; }

Property Value

IEnumerable<Color>

HasSelection

public bool HasSelection { get; }

Property Value

bool

Value

public Color Value { get; set; }

Property Value

Color

onValueChanged

public UnityEvent<Color> onValueChanged { get; }

Property Value

UnityEvent<Color>

Methods

ContainsColor(Color)

public bool ContainsColor(Color color)

Parameters

color Color

Returns

bool

SelectIndex(int)

public void SelectIndex(int index)

Parameters

index int

SetValueWithoutNotify(Color)

public void SetValueWithoutNotify(Color value)

Parameters

value Color

UpdatePaletteItems()

public void UpdatePaletteItems()