Undo.RecordObject(UnityEngine.Object, string);Undo.RegisterCompleteObjectUndo(UnityEngine.Object, string); - 둘 다 오브젝트 변경 사항을 기록하는 기능- RegisterCompleteObjectUndo 가 더 깊은 복사 참고https://forum.unity.com/threads/monobehaviour-references-are-lost-on-undo.587011/