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