Example #1
0
 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());
 }
Example #2
0
 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);
 }