Class StoryBookComponent
A StoryBookComponent is a component that can be used as a StoryBookPage.
Inherited Members
Namespace: Unity.AppUI.Editor
Syntax
public abstract class StoryBookComponent
Fields
m_Properties
The list of properties (used internally).
Declaration
protected readonly List<StoryBookComponentProperty> m_Properties
Field Value
Type | Description |
---|---|
List<StoryBookComponentProperty> |
Properties
properties
The properties of the component.
Declaration
public IEnumerable<StoryBookComponentProperty> properties { get; }
Property Value
Type | Description |
---|---|
IEnumerable<StoryBookComponentProperty> |
uiElementType
The type of the UI element.
Declaration
public virtual Type uiElementType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
Setup(VisualElement)
Setup the component.
Declaration
public virtual void Setup(VisualElement element)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | element | The element to setup. |