protected override void CollsionAction() { foreach (CollsionComponent i in ColliedObjects.ToList().FindAll(i => i.Holder.GetComponent <BeliefComponent>() != null)) { Holder.GetComponent <BeliefComponent>().Compare(i.Holder.GetComponent <BeliefComponent>()); } }
protected override void CollsionAction() { if (!Holder.GetComponent <BoxSelectGraphicalComponent>().Visible) { if (_switch) { _switch = false; ColliedObjects.ToList().ForEach(i => _selector.Add(i.Holder)); } } else { _switch = true; } }