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