void UndoAction()
    {
        InputDone();

        if (currentActiveMode.ShouldCancelUndoAction())
        {
            return;
        }

        actionController.TryToUndoAction();
    }
Ejemplo n.º 2
0
 public bool ShouldCancelUndoAction()
 {
     return(currentActiveMode.ShouldCancelUndoAction());
 }