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