[TOC]
- Unity plugin for undo and redo develop.
-
Unity --> Window --> Package Manager --> "+" --> Add package from git URL...
https://github.com/mogoson/MGS.Undo.git?path=/Assets
- Create a Global Instance for IUndoManager.
- Register a instance of IUndoHandler (example: UndoHandler) to the Global Instance of IUndoManager when you need record to undo and redo.
- Call the Undo or Redo method of Global Instance.
- Unity --> Window --> Package Manager --> Packages-Mogoson --> Undo --> Samples.
Copyright © 2025 Mogoson. mogoson@outlook.com