Example #1
0
        protected override void Action(MouseGuru mouseGuru, KeyboardGuru keyboardGuru)
        {
            _selector.Clear();
            _selector.Add(_gameObject);

            MoveCameraToSubject();
        }
 protected override void CollsionAction()
 {
     if (!Holder.GetComponent <BoxSelectGraphicalComponent>().Visible)
     {
         if (_switch)
         {
             _switch = false;
             ColliedObjects.ToList().ForEach(i => _selector.Add(i.Holder));
         }
     }
     else
     {
         _switch = true;
     }
 }