Class ManageSceneParams
Parameters for the Unity.ManageScene tool.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record ManageSceneParams : IEquatable<ManageSceneParams>
Properties
Action
Gets or sets the operation to perform.
Declaration
[McpDescription("Operation to perform", Required = true, Default = SceneAction.GetActive)]
public SceneAction Action { get; set; }
Property Value
| Type | Description |
|---|---|
| SceneAction |
BuildIndex
Gets or sets the build index for the scene.
Declaration
[McpDescription("Build index for scene", Required = false)]
public int? BuildIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Depth
Gets or sets the hierarchy depth limit (-1 for full hierarchy, 0 for root objects only, 1+ for limited depth).
Declaration
[McpDescription("Hierarchy depth limit (-1 for full hierarchy, 0 for root objects only, 1+ for limited depth)", Required = false, Default = -1)]
public int? Depth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Name
Gets or sets the scene name.
Declaration
[McpDescription("Scene name", Required = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Gets or sets the relative path under Assets/.
Declaration
[McpDescription("Relative path under Assets/", Required = false)]
public string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |