Пример #1
0
        //deselect this entity
        public virtual void OnDeselected()
        {
            if (IsSelected) //if the entity was previously selected
            {
                CustomEvents.OnEntityDeselected(Source);
            }

            Source.DisableSelectionPlane();
            IsSelected     = false;
            IsSelectedOnly = false;
        }