Esempio n. 1
0
        public static void TestScenesUnderneathFolder()
        {
            var allFolderPaths = ZenUnityEditorUtil.GetSelectedFolderPathsInProjectsTab().Select(relativePath =>
                                                                                                 Path.Combine(
                                                                                                     Directory.GetParent(Application.dataPath).FullName, relativePath)).ToHashSet().ToList();

            var allSceneNames = StUtil.GetAllSceneNamesUnderneathFolders(allFolderPaths);

            StWindow.Instance.RunScenes(allSceneNames, false, false);
        }
Esempio n. 2
0
 public static bool ValidateTestScenesUnderneathFolder()
 {
     return(!ZenUnityEditorUtil.GetSelectedFolderPathsInProjectsTab().IsEmpty());
 }