logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GenericAssetRecipeExporter

    Exports every Serenity ScriptableObject under the scan root that does not have a dedicated typed section (composite views, UI themes, action definitions, all settings/config assets) into the generic assets section, capturing each asset's full serialized field tree via RecipeSerializedPropertyCodec.

    Inheritance
    object
    GenericAssetRecipeExporter
    Implements
    ISerenityRecipeSectionExporter
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Exporters
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public sealed class GenericAssetRecipeExporter : ISerenityRecipeSectionExporter

    Constructors

    GenericAssetRecipeExporter()

    Declaration
    public GenericAssetRecipeExporter()

    Properties

    SectionName

    Declaration
    public string SectionName { get; }
    Property Value
    Type Description
    string

    The recipe section this exporter produces, e.g. audioClips.

    Methods

    Export(SerenityRecipeExportContext)

    Scans for this section's assets under the context's scan root and fills the recipe.

    Declaration
    public void Export(SerenityRecipeExportContext context)
    Parameters
    Type Name Description
    SerenityRecipeExportContext context

    The shared export context.

    Implements

    ISerenityRecipeSectionExporter
    In this article
    © 2026 Serenity. All Rights Reserved