Esempio n. 1
0
 public TutorialStep CreateSceneCommand(SceneTypeNode node, Action <IDocumentationBuilder> stepContent = null)
 {
     return(new TutorialStep("Now we need to create a scene from our scene manager.", () =>
     {
         if (!EditorApplication.currentScene.EndsWith(node.Name + ".unity"))
         {
             return
             "The scene hasn't been created yet.  Navigate to the scene manager, right-click on it, and select CreateScene.  If you have already created the scene, please open it now.";
         }
         return null;
     })
     {
         StepContent = stepContent
     });
 }
 public SceneTypeNodeViewModel(SceneTypeNode graphItemObject, Invert.Core.GraphDesigner.DiagramViewModel diagramViewModel) :
     base(graphItemObject, diagramViewModel)
 {
 }