Class SelectionData
Selection information data structure.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record SelectionData : IEquatable<SelectionData>
Properties
ActiveGameObject
Gets or sets the name of active selected GameObject.
Declaration
[McpDescription("Name of active selected GameObject")]
public string ActiveGameObject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ActiveInstanceID
Gets or sets the instance ID of active selection.
Declaration
[McpDescription("Instance ID of active selection")]
public int ActiveInstanceID { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ActiveObject
Gets or sets the name of active selected object.
Declaration
[McpDescription("Name of active selected object")]
public string ActiveObject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ActiveTransform
Gets or sets the name of active selected Transform.
Declaration
[McpDescription("Name of active selected Transform")]
public string ActiveTransform { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AssetGUIDs
Gets or sets the asset GUIDs of selected assets in Project view.
Declaration
[McpDescription("Asset GUIDs of selected assets in Project view")]
public string[] AssetGUIDs { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Count
Gets or sets the total count of selected objects.
Declaration
[McpDescription("Total count of selected objects")]
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
GameObjects
Gets or sets the list of all selected GameObjects.
Declaration
[McpDescription("List of all selected GameObjects")]
public List<GameObjectSelectionInfo> GameObjects { get; set; }
Property Value
| Type | Description |
|---|---|
| List<GameObjectSelectionInfo> |
Objects
Gets or sets the list of all selected objects.
Declaration
[McpDescription("List of all selected objects")]
public List<SelectionObjectInfo> Objects { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SelectionObjectInfo> |