Undo/Redo for UI Toolkit & uGUI - Simple undo/redo for Unity UI. Zero-code uGUI setup, minimal UI Toolkit integration. Perfect for editors, settings, and creative tools.Undo/Redo for UI Toolkit & uGUI is a lightweight, easy-to-use framework for adding undo/redo functionality to your Unity UI with minimal or zero coding.It helps developers quickly implement:•Undo/Redo systems for UI elements•UI Toolkit integration (24+ element types)•uGUI integration (zero-code setup)•Smart batching for optimal undo history•Custom command support for gameplay logic•Plug-and-play components for rapid prototyping•Runtime editors and creative tools•Settings menus with undo supportDesigned around a simple, component-based architecture, the asset ensures clean integration and minimal setup time.It includes:•Command-based system for extensibility•UI Toolkit Undo Tracker with focus-based batching•uGUI Undo Tracker with drag-aware batching•Ready-to-use button components for undo/redo•Inline command support for quick operations•Property command utilities for object modifications•Comprehensive documentation and quickstart guides•Practical sample scenes demonstrating all featuresNeed More Advanced Features?Check out Deterministic Command Engine - A powerful framework for building undoable, replayable, and scalable gameplay systems including replay functionality, turn-based games, puzzle games, card games, and more.DCE - Deterministic Command EngineZero-Code uGUI Integration•Add UIUndoTracker component to any UI element (Slider, Toggle, InputField, Dropdown, TMP_Dropdown)•Add UndoRedoButton component to buttons for instant undo/redo functionality•No scripting required - works out of the boxUI Toolkit Support (24+ Elements)•Comprehensive support for Slider, SliderInt, MinMaxSlider, Toggle, TextField•Number fields: IntegerField, FloatField, LongField, DoubleField, UnsignedIntegerField, UnsignedLongField•Vector fields: Vector2Field, Vector3Field, Vector4Field, Vector2IntField, Vector3IntField•Rect/Bounds: RectField, RectIntField, BoundsField, BoundsIntField•Dropdowns: DropdownField, EnumField, RadioButtonGroup•Specialized: Hash128Field•Simple registration API via UIToolkitUndoTrackerSmart Batching System•Sliders: 100ms debounce timer batches rapid changes into single undo entries•Text/Number/Vector fields: Focus-based batching (all edits during focus = one undo)•Prevents undo history bloat with intelligent change detectionDeveloper-Friendly•Comprehensive XML documentation•Quickstart window with interactive guides•Sample scenes demonstrating all features•Clean, extensible codebasePerformance Optimized•Minimal allocations during command execution•Reflection caching for repeated operations•Debouncing reduces command creation overhead•SetValueWithoutNotify prevents callback loopsAI was used to assist in reviewing the project for potential vulnerabilities and to help draft documentation and code summaries.


