Class PrefabStageData
Prefab stage information data structure.
Implements
Inherited Members
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 |