Class RecipeGenericAssetDto
A generic Serenity ScriptableObject in a recipe: its type, stable id, output path, and serialized fields. Used for every supported asset type that does not have a dedicated typed section.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public class RecipeGenericAssetDto
Constructors
RecipeGenericAssetDto()
Declaration
public RecipeGenericAssetDto()
Fields
fields
Declaration
public RecipeNode[] fields
Field Value
| Type | Description |
|---|---|
| RecipeNode[] | The asset's serialized fields as a node tree (excludes Id/Guid, which map to id). |
id
Declaration
public string id
Field Value
| Type | Description |
|---|---|
| string | Stable logical id (the asset's foundation Id, or its file name). |
matchByOutputPath
Declaration
public bool matchByOutputPath
Field Value
| Type | Description |
|---|---|
| bool | When true and an asset already exists at output, the asset is patched in place without
rewriting its |
output
Declaration
public string output
Field Value
| Type | Description |
|---|---|
| string | Output path relative to |
type
Declaration
public string type
Field Value
| Type | Description |
|---|---|
| string | The ScriptableObject type name to create, e.g. |