Exemplo n.º 1
0
 public void ClearSelection()
 {
     foreach (NodeUi node in UiManager.GetNodes())
     {
         node.selected    = false;
         node.preSelected = false;
     }
     OnSelectionChange.Invoke(box.GetAllSelected());
 }
Exemplo n.º 2
0
 public IEnumerable <NodeUi> GetSelectedNodes()
 {
     foreach (NodeUi node in UiManager.GetNodes())
     {
         if (node.selected)
         {
             yield return(node);
         }
     }
 }