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