public static string[] GetBuildSceneName(SettingsProject.Params c) { if (0 <= c.buildSceneSetIndex) { return(GetBuildSceneName(i.profileList[c.buildSceneSetIndex])); } return(EditorBuildSettings.scenes.Where(x => x.enabled).Select(x => x.path).ToArray()); }
public string GetSelectedPopupName(SettingsProject.Params currentParams) { if (currentParams.buildSceneSetIndex < 0) { return(S._UsethestandardBuildSettings); } if (profileList.Count <= currentParams.buildSceneSetIndex) { currentParams.buildSceneSetIndex = profileList.Count - 1; } return(profileList[currentParams.buildSceneSetIndex].profileName); }