docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum EditorAction

    Actions that can be performed by the Unity.ManageEditor tool.

    Namespace: Unity.AI.MCP.Editor.Tools.Parameters
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public enum EditorAction

    Fields

    Name Description
    AddLayer

    Add a new layer to the project.

    AddTag

    Add a new tag to the project.

    GetActiveTool

    Get the currently active editor tool.

    GetLayers

    Get all layers in the project.

    GetPrefabStage

    Get prefab stage information if a prefab is open for editing.

    GetProjectRoot

    Get the project root directory path.

    GetSelection

    Get the current selection in the editor.

    GetState

    Get the current editor state.

    GetTags

    Get all tags in the project.

    GetWindows

    Get information about open editor windows.

    Pause

    Pause play mode.

    Play

    Enter play mode.

    RemoveLayer

    Remove a layer from the project.

    RemoveTag

    Remove a tag from the project.

    SetActiveTool

    Set the active editor tool.

    Stop

    Exit play mode.

    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)