docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023