Class StoryBookEnumProperty
This class defines a Enum property for a StoryBookComponent.
Inherited Members
Namespace: Unity.AppUI.Editor
Syntax
public class StoryBookEnumProperty : StoryBookComponentProperty
Constructors
StoryBookEnumProperty(String, Func<VisualElement, Enum>, Action<VisualElement, Enum>)
Constructor.
Declaration
public StoryBookEnumProperty(string name, Func<VisualElement, Enum> getter, Action<VisualElement, Enum> setter)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the property. |
Func<VisualElement, Enum> | getter | The getter of the property. |
Action<VisualElement, Enum> | setter | The setter of the property. |
Properties
getter
The getter of the property.
Declaration
public Func<VisualElement, Enum> getter { get; set; }
Property Value
Type | Description |
---|---|
Func<VisualElement, Enum> |
setter
The setter of the property.
Declaration
public Action<VisualElement, Enum> setter { get; set; }
Property Value
Type | Description |
---|---|
Action<VisualElement, Enum> |