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