public void Select(ISelectableBehaviour selectableObject) { if (selectableObject == null) return; selectedObjects.Add(selectableObject); selectableObject.Select(); SelectionChanged.TryCall(); }
public void Deselect(ISelectableBehaviour selectableObject) { if (selectableObject == null) return; selectedObjects.Remove(selectableObject); SelectionChanged.TryCall(); }
public void UnregisterSelectableObject(ISelectableBehaviour selectable) { selectableObjects.Remove(selectable); }
public void RegisterSelectableObject(ISelectableBehaviour selectable) { selectableObjects.Add(selectable); }