public override void DoUndo() { if (!RedoGenerated) { HistoryMarkersRemove.GenerateRedo(Undo.Current.Prefabs.MarkersRemove).Register(); } RedoGenerated = true; DoRedo(); }
public void RegisterMarkersRemove() { HistoryMarkersRemove.GenerateUndo(Prefabs.MarkersRemove).Register(); }