Class AchievementRecipeExporter
Exports UnityAchievementDefinition assets into the achievements section. The
polymorphic [SerializeReference] Condition tree round-trips via
RecipeSerializedPropertyCodec as a managed-reference node, and generateTrigger is
set for the achievements whose companion trigger asset is actually in the project — so re-importing an
exported recipe reproduces the triggers the project already has rather than dropping or inventing them.
Implements
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Exporters
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public sealed class AchievementRecipeExporter : ISerenityRecipeSectionExporter
Constructors
AchievementRecipeExporter()
Declaration
public AchievementRecipeExporter()
Properties
SectionName
Declaration
public string SectionName { get; }
Property Value
| Type | Description |
|---|---|
| string | The recipe section this exporter produces, e.g. |
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. |