logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ISerenityRecipeSectionExporter

    A handler that scans the project for one section's ScriptableObjects and appends their recipe DTOs to the recipe being built. The inverse of ISerenityRecipeSectionImporter. The built-in exporters are listed by the export engine; an exporter in any other assembly is discovered by reflection, so a section whose package the core must not depend on (localization) still exports.

    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Exporters
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public interface ISerenityRecipeSectionExporter

    Properties

    ContentDescription

    Declaration
    string ContentDescription { get; }
    Property Value
    Type Description
    string

    What the section holds, for a section that is not named after one asset type (the generic section, localization); empty for a typed section.

    SectionName

    Declaration
    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
    void Export(SerenityRecipeExportContext context)
    Parameters
    Type Name Description
    SerenityRecipeExportContext context

    The shared export context.

    In this article
    © 2026 Serenity. All Rights Reserved