Exemplo n.º 1
0
 public void Select(ISelectableBehaviour selectableObject) {
     if (selectableObject == null)
         return;
     selectedObjects.Add(selectableObject);
     selectableObject.Select();
     SelectionChanged.TryCall();
 }
Exemplo n.º 2
0
 public void Deselect(ISelectableBehaviour selectableObject) {
     if (selectableObject == null)
         return;
     selectedObjects.Remove(selectableObject);
     SelectionChanged.TryCall();
 }
Exemplo n.º 3
0
 public void UnregisterSelectableObject(ISelectableBehaviour selectable) {
     selectableObjects.Remove(selectable);
 }
Exemplo n.º 4
0
 public void RegisterSelectableObject(ISelectableBehaviour selectable) {
     selectableObjects.Add(selectable);
 }