title: Create undo and redo system in Unity
body: <p>I hame building simple game in Unity3D where the user can place models in the scene, delete and move them.</p>
  
  <p>I have built the basic part but now I want to add an undo-redo system. Undoing the movement is easy (just saving the previous position) but I am not sure how to undo/redo object's creation or deletion.</p>
  
  <p>I am currently deleting it using the <code>Destroy</code> method and it is working as I want. But how can I had the option to undo it¿</p>
  
  <p>I thought about disabling the GameObject and reactivate it when undoing but I am not sure it would be good for memory.</p>
  
  <p>My game is targeted for low end PCs with only 4GB of ram and weak i3 processor.</p>
  
  <p>Do you know a way to implement undo of object deletion¿</p>
  
  <p>Thanks in advance</p>