logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct ResolvedRecipeAsset

    A generated asset's resolved location and (when written) its instance.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    In this article
    © 2026 Serenity. All Rights Reserved