docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PrefabStageData

    Prefab stage information data structure.

    Inheritance
    object
    PrefabStageData
    Implements
    IEquatable<PrefabStageData>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AI.MCP.Editor.Tools.Parameters
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public record PrefabStageData : IEquatable<PrefabStageData>

    Properties

    AssetPath

    Gets or sets the asset path of the prefab being edited.

    Declaration
    [McpDescription("Asset path of the prefab being edited")]
    public string AssetPath { get; set; }
    Property Value
    Type Description
    string

    IsDirty

    Gets or sets whether the prefab has unsaved changes.

    Declaration
    [McpDescription("Whether the prefab has unsaved changes")]
    public bool IsDirty { get; set; }
    Property Value
    Type Description
    bool

    IsOpen

    Gets or sets whether prefab stage is currently open.

    Declaration
    [McpDescription("Whether prefab stage is currently open")]
    public bool IsOpen { get; set; }
    Property Value
    Type Description
    bool

    Mode

    Gets or sets the prefab stage mode (InContext or InIsolation).

    Declaration
    [McpDescription("Prefab stage mode (InContext or InIsolation)")]
    public string Mode { get; set; }
    Property Value
    Type Description
    string

    PrefabRootName

    Gets or sets the name of the prefab root GameObject.

    Declaration
    [McpDescription("Name of the prefab root GameObject")]
    public string PrefabRootName { get; set; }
    Property Value
    Type Description
    string

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)