logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Global.Infrastructure.Attributes

    Classes

    AssetPathFieldAttribute

    Marks a serialized string field as holding the project path of a Unity asset of a given type, so the Inspector renders a constrained object-field picker (drag-and-drop) instead of a plain text box, writing the selected asset's path back into the field.
    Derives from UnityEngine.PropertyAttribute so Unity can resolve AssetPathFieldDrawer for it; this is the Unity-serializable counterpart of the engine-agnostic AssetPathReferenceAttribute used for reflection-based tooling.

    FoundationIdFieldAttribute

    Marks a serialized string field as holding the Id of an IFoundationSettings definition of a given type, so the Inspector renders an object-field picker (backed by the candidate assets' ids) instead of a plain text box.
    Derives from UnityEngine.PropertyAttribute so Unity can resolve FoundationIdFieldDrawer for it; this is the Unity-serializable counterpart of the engine-agnostic FoundationIdReferenceAttribute used for reflection-based tooling.

    In this article
    © 2026 Serenity. All Rights Reserved