Skip to content

Instantly share code, notes, and snippets.

@MechWarrior99
MechWarrior99 / UndoUtility.cs
Last active February 17, 2022 04:11
A utility class for working with Unity's Undo class. Mainly contains UndoPerformed and RedoPerformed events
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using Object = UnityEngine.Object;
/// <summary>
/// Additional utilities for use with <see cref="Undo"/>.
/// </summary>
[InitializeOnLoad]