docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StoryBookStory

    A StoryBookStory is a story that can be used inside a StoryBookPage.

    Inheritance
    object
    StoryBookStory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Editor
    Assembly: Unity.AppUI.Editor.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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)