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