undo-redo for create tiled map and property holder

This commit is contained in:
2016-02-02 00:21:21 +06:00
parent 46e2e830b5
commit 1920b49e47
9 changed files with 236 additions and 46 deletions

View File

@@ -132,6 +132,7 @@ namespace IsoTools.Tiled.Internal {
Debug.LogErrorFormat("Create tiled map error: {0}", e.Message);
DestroyImmediate(map_go, true);
}
Undo.RegisterCreatedObjectUndo(map_go, "Create TiledMap");
}
}
}