Exemplo n.º 1
0
        public void DefaultLayoutContainsTutorialWindow()
        {
            TutorialManager.SaveOriginalWindowLayout();
            TutorialManager.LoadWindowLayout(TutorialContainer.k_DefaultLayoutPath);
            bool hasTutorialWindow = EditorWindowUtils.FindOpenInstance <TutorialWindow>();

            TutorialManager.RestoreOriginalWindowLayout();
            Assert.IsTrue(hasTutorialWindow, $"{TutorialContainer.k_DefaultLayoutPath} does not contain TutorialWindow.");
        }