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); }
public static bool ValidateTestScenesUnderneathFolder() { return(!ZenUnityEditorUtil.GetSelectedFolderPathsInProjectsTab().IsEmpty()); }