public static string[] GetAllScenesUsedInProject() { return EditorBuildSettings.scenes.Where(s => s.enabled).Select(n => n.path).ToArray(); }