public static void RegisterUndo(HistoryObject UndoStep, HistoryObject.HistoryParameter Params = null)
 {
     Current.AddUndoCleanup();
     Current.AddToHistory(UndoStep);
     Current.CurrentStage = Undo.Current.History.Count;
     UndoStep.Register(Params);
 }