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