Class OptionalDensityDrawer
Draws the Inspector GUI for an optional density property
Inheritance
OptionalDensityDrawer
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: Unity.AppUI.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(OptionalDensityDrawerAttribute))]
public class OptionalDensityDrawer : OptionalPropertyDrawer<string, DensityField>
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 |