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