Class UserStartupCode
Runs IET project initialization logic.
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()