Class StoryBookStringProperty
This class defines a string property for a StoryBookComponent.
Inherited Members
Namespace: UnityEngine.Dt.App.Editor
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> |