Ejemplo n.º 1
0
 void OnActiveToolChanging()
 {
     if (m_Tool != null && ToolManager.IsActiveTool(m_Tool))
     {
         LeaveTool();
     }
 }
Ejemplo n.º 2
0
 void ActionPerformed(MenuAction newActionPerformed)
 {
     if (ToolManager.IsActiveTool(m_Tool) && newActionPerformed.GetType() != this.GetType())
     {
         LeaveTool();
     }
 }