using System;
namespace Unity.Tutorials.Core.Editor
{
///
/// Can be used to query the mode of the Tutorial Project.
///
public static class ProjectMode
{
///
/// Returns true if Tutorial Authoring Tools are present and we are in authoring mode.
///
///
public static bool IsAuthoringMode()
{
return Type.GetType(
"Unity.Tutorials.Authoring.Editor.TutorialExporterWindow, " +
"Unity.Tutorials.Authoring.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
) != null;
}
}
}