docs.unity3d.com
    Show / Hide Table of Contents

    Class UserStartupCode

    Runs IET project initialization logic.

    Inheritance
    Object
    UserStartupCode
    Namespace: Unity.InteractiveTutorials
    Syntax
    [InitializeOnLoad]
    public static class UserStartupCode

    Methods

    IsInitialized()

    Has the IET project initialization been performed? TODO 2.0 make private

    Declaration
    public static bool IsInitialized()
    Returns
    Type Description
    Boolean

    RestartEditor()

    Restart the Editor.

    Declaration
    public static void RestartEditor()

    SetInitialized()

    Marks the IET project initialization to be done. TODO 2.0 Make internal/private

    Declaration
    public static void SetInitialized()

    ShowTutorialWindow()

    Shows Tutorials window using the currently specified behaviour:

    • if TutorialContainer exists and TutorialContainer.ProjectLayout is specified, the window is loaded and shown using the specified window layout (old behaviour), or
    • else the window is shown by anchoring and docking next to the Inspector (new behaviour).
    Declaration
    public static void ShowTutorialWindow()
    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