Class StoryBookEnumProperty
This class defines a Enum property for a StoryBookComponent.
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: solution.dll
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> |