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