logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeImportOptionsDto

    Optional behaviour flags for an import run.

    Inheritance
    object
    RecipeImportOptionsDto
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public class RecipeImportOptionsDto

    Constructors

    RecipeImportOptionsDto()

    Declaration
    public RecipeImportOptionsDto()

    Fields

    overwriteExisting

    Declaration
    public bool overwriteExisting
    Field Value
    Type Description
    bool

    When true, existing assets at a target path are updated in place; idempotency is preserved regardless.

    registerAsAddressables

    Declaration
    public bool registerAsAddressables
    Field Value
    Type Description
    bool

    When true (the default), assets created or updated by an Import run are registered into the Serenity Addressables group before any stored load key is resolved. Tests that import real assets must opt out (set false) so they do not pollute the project's Addressables settings.

    stopOnFirstError

    Declaration
    public bool stopOnFirstError
    Field Value
    Type Description
    bool

    Reserved: when true, the run reports the first blocking error and stops. Currently informational.

    In this article
    © 2026 Serenity. All Rights Reserved