예제 #1
0
 public void undoTool()
 {
     if (localToolManagers.Count == 0)
     {
         globalToolManager.undoTool();
         //System.out.println( "[ToolManager] Global Tool Manager: Undo Performed" );
     }
     else
     {
         localToolManagers.Peek().undoTool();
         //System.out.println( "[ToolManager] Local Tool Manager: Undo Performed" );
     }
 }
 public void undoTool()
 {
     if (localToolManagers.Count == 0)
     {
         globalToolManager.undoTool();
         Debug.Log("[ToolManager] Global Tool Manager: Undo Performed");
     }
     else
     {
         localToolManagers.Peek().undoTool();
         Debug.Log("[ToolManager] Local Tool Manager: Undo Performed");
     }
 }