Undo-RegisterCreatedObjectUndo - Unity スクリプトリファレンス
Registers an undo operation to undo the creation of an object.