Class StoryBookStory
A StoryBookStory is a story that can be used inside a StoryBookPage.
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: solution.dll
Syntax
public sealed class StoryBookStory
Constructors
StoryBookStory(string, Func<VisualElement>)
Constructor.
Declaration
public StoryBookStory(string name, Func<VisualElement> createGUI)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the story. |
Func<VisualElement> | createGUI | The function that creates the GUI of the story. |
Properties
createGUI
The function that creates the GUI of the story.
Declaration
public Func<VisualElement> createGUI { get; }
Property Value
Type | Description |
---|---|
Func<VisualElement> |
name
The name of the story.
Declaration
public string name { get; }
Property Value
Type | Description |
---|---|
string |