logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LoadingProgressPrefabGenerationPlan

    What one UnityUiLoadingProgressPrefabGenerator run will do, theme by theme, decided before anything is written — the list Serenity.Ui.Installation.Editor.Settings.LoadingProgressPrefabGeneratorWindow previews and the one the generator then carries out, so the preview can never promise something the run does not do. A theme that already has a LoadingProgress prefab — every Theme Builder theme ships its own LoadingBar — is kept unless the author opts into replacing it.

    Inheritance
    object
    LoadingProgressPrefabGenerationPlan
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Ui.Installation.Editor.Settings
    Assembly: Serenity.UnityUi.Installation.Editor.dll
    Syntax
    public sealed class LoadingProgressPrefabGenerationPlan

    Properties

    Entries

    Declaration
    public IReadOnlyList<LoadingProgressThemePlanEntry> Entries { get; }
    Property Value
    Type Description
    IReadOnlyList<LoadingProgressThemePlanEntry>

    One entry per theme the run visits, in the order it visits them.

    Methods

    Build(IReadOnlyList<string>, bool)

    The plan over exactly themePaths.

    Declaration
    public static LoadingProgressPrefabGenerationPlan Build(IReadOnlyList<string> themePaths, bool replaceExistingTemplates)
    Parameters
    Type Name Description
    IReadOnlyList<string> themePaths
    bool replaceExistingTemplates
    Returns
    Type Description
    LoadingProgressPrefabGenerationPlan

    CountOf(LoadingProgressThemeAction)

    How many themes the plan does action to.

    Declaration
    public int CountOf(LoadingProgressThemeAction action)
    Parameters
    Type Name Description
    LoadingProgressThemeAction action
    Returns
    Type Description
    int

    DescribeScope()

    The scope preview the window shows before the author presses Execute: every theme the run writes, every one it replaces with the prefab it replaces, every one it keeps and every one it cannot write, each by path.

    Declaration
    public string DescribeScope()
    Returns
    Type Description
    string

    ForAllThemes(bool)

    The plan over every theme definition in the project.

    Declaration
    public static LoadingProgressPrefabGenerationPlan ForAllThemes(bool replaceExistingTemplates)
    Parameters
    Type Name Description
    bool replaceExistingTemplates
    Returns
    Type Description
    LoadingProgressPrefabGenerationPlan
    In this article
    © 2026 Serenity. All Rights Reserved