UE4-21 UNDO in realtime

If you want to spawn and destroy actors, it is better to store data about the actor instead of directly referencing it.
I create a GUID/Actor map for all actors in history and store only GUID and data about the actor. If the actor was deleted and restored using Undo-Redo, the whole history would remain valid.


1 Like