Class TutorialWindow
The window used to display all tutorial content.
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.