Class OptionalColorDrawer
Draws the Inspector GUI for an optional color property
Inheritance
OptionalColorDrawer
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: Unity.AppUI.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(Optional<Color>))]
public class OptionalColorDrawer : OptionalPropertyDrawer<Color, ColorField>
Methods
SetValue(Color)
Sets the value of the property in the serialized object
Declaration
protected override void SetValue(Color newValue)
Parameters
Type | Name | Description |
---|---|---|
Color | newValue | The new value of the property |