docs.unity3d.com
    Show / Hide Table of Contents

    Class TutorialWelcomePage

    Welcome page/dialog for a project shown using TutorialModalWindow.

    Inheritance
    Object
    TutorialWelcomePage
    Namespace: Unity.Tutorials.Core.Editor
    Syntax
    public class TutorialWelcomePage : ScriptableObject
    Remarks

    In addition of window title, header image, title, and description, a welcome page/dialog contains a fully customizable button row.

    Fields

    Modified

    Raised when any field of the welcome page is modified.

    Declaration
    public TutorialWelcomePageEvent Modified
    Field Value
    Type Description
    TutorialWelcomePageEvent

    TutorialWelcomePageModified

    Raised when any welcome page is modified.

    Declaration
    public static TutorialWelcomePageEvent TutorialWelcomePageModified
    Field Value
    Type Description
    TutorialWelcomePageEvent
    Remarks

    Raised before Modified event.

    Properties

    Buttons

    Buttons specified for the welcome page.

    Declaration
    public TutorialWelcomePage.ButtonData[] Buttons { get; set; }
    Property Value
    Type Description
    TutorialWelcomePage.ButtonData[]

    Description

    Description of the welcome dialog.

    Declaration
    public LocalizableString Description { get; set; }
    Property Value
    Type Description
    LocalizableString

    Image

    Header image of the welcome dialog.

    Declaration
    public Texture2D Image { get; set; }
    Property Value
    Type Description
    Texture2D

    Title

    Title of the welcome dialog.

    Declaration
    public LocalizableString Title { get; set; }
    Property Value
    Type Description
    LocalizableString

    WindowTitle

    Window title of the welcome dialog.

    Declaration
    public LocalizableString WindowTitle { get; set; }
    Property Value
    Type Description
    LocalizableString

    Methods

    CloseCurrentModalDialog()

    Closes the an open instance of TutorialModalWindow.

    Declaration
    public void CloseCurrentModalDialog()

    CreateCloseButton(TutorialWelcomePage)

    Creates a default Close button.

    Declaration
    public static TutorialWelcomePage.ButtonData CreateCloseButton(TutorialWelcomePage page)
    Parameters
    Type Name Description
    TutorialWelcomePage page

    Page for which the buttons is created.

    Returns
    Type Description
    TutorialWelcomePage.ButtonData

    Data structure for the button.

    ExitEditor()

    Exits the Editor.

    Declaration
    public void ExitEditor()

    RaiseModified()

    Raises the Modified events for this asset.

    Declaration
    public void RaiseModified()
    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