unity-editor

Automate Unity Editor play mode, object selection, undo/redo, and menu commands.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-editor-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-editor
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/editor
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-editor-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity Editor control for automated play mode, object selection, undo/redo, and execution of editor menu commands, enabling faster testing and batch operations.

Core Features & Use Cases

  • Enter and exit play mode programmatically to speed up testing cycles.
  • Select GameObjects by name, path, or instanceId for batch operations.
  • Trigger undo/redo sequences and execute common Unity menu commands to streamline workflows.
  • Retrieve current editor context (selection, assets, and scene state) to inform automation tasks.

Quick Start

Launch the Unity Editor, enter play mode, select a GameObject, and use undo/redo as needed.

Frequently Asked Questions about unity-editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate entering and exiting Unity play mode for testing?

Automate Unity play mode by using a programmable skill interface to enter and exit play mode programmatically. This enables faster testing cycles and batch operations without manual editor interaction.

Can I select GameObjects in Unity by name or instanceId for batch operations?

Select GameObjects by name, path, or instanceId for batch operations within Unity. This allows automation of selection workflows across projects to streamline development tasks.

What is the best way to trigger undo and redo sequences in the Unity Editor?

Trigger undo and redo sequences in the Unity Editor via a programmable skill interface. This allows automated reversal and reapplication of actions to streamline development workflows.

Does this Unity Editor automation skill work without extra dependencies?

Yes, this Unity Editor automation skill works without extra dependencies. It directly executes editor menu commands, manages selection, and performs undo/redo sequences across projects.

How do I execute Unity menu commands programmatically during development?

Execute Unity menu commands programmatically by using the skill interface to trigger common editor menu interactions. This streamlines workflows requiring automated menu execution.

When do I need to retrieve current editor context for Unity automation tasks?

Retrieve current editor context, including selection, assets, and scene state, to inform automation tasks. This is needed when performing batch operations or quick testing cycles within Unity.