unity-history

Undo and redo Unity Editor edits via the Undo API.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-history-lrbjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-history
Source: https://github.com/lrbjk/FenShen_Remake_V0/tree/main/.codex/skills/unity-skills/skills/history
Command: npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-history-lrbjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides straightforward control over Unity Editor undo and redo operations so users can revert or reapply recent edits without manually navigating the editor's undo stack.

Core Features & Use Cases

  • Single-step Undo: Revert the most recent editor change such as transform adjustments, component edits, or object creation.
  • Single-step Redo: Reapply the last undone operation to restore a previous state.
  • Query Current State: Retrieve information about the current undo group to inform conditional workflows.
  • Guardrails: Does not attempt to clear or persist the Unity undo history and relies on Unity's built-in Undo API; avoid calls that assume nonexistent functions like history_list or history_clear.
  • Use Case: When a level designer accidentally modifies scene objects, use this skill to undo the last change or check the current undo group before applying a scripted change.

Quick Start

Undo the last operation in the Unity Editor using the unity-history skill.

Frequently Asked Questions about unity-history

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

FAQPage Schema
How do I undo the last scene edit in the Unity Editor?

You can revert the most recent Unity Editor change by performing a single-step undo. This reverts actions like transform adjustments, component edits, or object creation using Unity's built-in Undo API.

What is the best way to reapply an undone operation in Unity?

To reapply an undone operation in Unity, you can perform a single-step redo. This restores the previous state by reapplying the last undone editor action via the Undo API.

Can I query the current undo group in Unity before applying a scripted change?

Yes, you can retrieve information about the current Unity undo group. Querying the current state helps inform conditional workflows before you apply a scripted scene change.

Does this Unity undo and redo control clear or persist the editor history?

No, this approach does not attempt to clear or persist the Unity editor history. It operates reliably via Unity's Undo API without assuming nonexistent functions like history_list or history_clear.

How do I revert property changes or restore deleted objects in Unity?

To revert property changes or restore deleted objects in Unity, use single-step undo operations during authoring tasks. This reverts recent scene edits by leveraging the Unity Undo API.