docs.unity3d.com
    Show / Hide Table of Contents

    Class TutorialWindow

    The window used to display all tutorial content.

    Inheritance
    Object
    EditorWindowProxy
    TutorialWindow
    Inherited Members
    EditorWindowProxy.OnResized_Internal()
    EditorWindowProxy.IsParentNull()
    Namespace: Unity.Tutorials.Core.Editor
    Syntax
    public sealed class TutorialWindow : EditorWindowProxy

    Fields

    ShowTutorialsClosedDialog

    Should we show the Close Tutorials info dialog for the user for the current project. By default the dialog is shown once per project and disabled after that.

    Declaration
    public static ProjectSetting<bool> ShowTutorialsClosedDialog
    Field Value
    Type Description
    ProjectSetting<Boolean>
    Remarks

    You want to set this typically to false when running unit tests.

    Properties

    ActiveContainer

    Active container of which tutorials we are viewing.

    Declaration
    public TutorialContainer ActiveContainer { get; set; }
    Property Value
    Type Description
    TutorialContainer

    Methods

    ClearContainers()

    Clears any containers this window might be showing as available tutorial projects.

    Declaration
    public void ClearContainers()
    Remarks

    If we were viewing the container selection, the window is cleared.

    SetContainers(IEnumerable<TutorialContainer>)

    Sets the containers as available for selection as tutorial projects.

    Declaration
    public void SetContainers(IEnumerable<TutorialContainer> containers)
    Parameters
    Type Name Description
    IEnumerable<TutorialContainer> containers

    Container selection.

    Remarks

    ActiveContainer must be set to null in order to view the selection.

    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