Class StoryBookStory
A StoryBookStory is a story that can be used inside a StoryBookPage.
Inherited Members
Namespace: Unity.AppUI.Editor
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 |