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