Struct ResolvedRecipeAsset
A generated asset's resolved location and (when written) its instance.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public readonly struct ResolvedRecipeAsset
Constructors
ResolvedRecipeAsset(string, string, Object)
Creates a resolved reference.
Declaration
public ResolvedRecipeAsset(string id, string assetPath, Object asset)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | |
| string | assetPath | |
| Object | asset |
Properties
Asset
Declaration
public Object Asset { get; }
Property Value
| Type | Description |
|---|---|
| Object | The asset instance, or null in a dry run where nothing was written. |
AssetPath
Declaration
public string AssetPath { get; }
Property Value
| Type | Description |
|---|---|
| string | The project path the asset lives (or would live) at. |
Id
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string | The recipe id that produced the asset. |