Beispiel #1
0
 public void RemoveTarget(ParticleTarget target)
 {
     if (!_targets.Contains(target))
     {
         _allCount = -1;
         _targets.Remove(target);
     }
 }
Beispiel #2
0
        public void AddTarget(ParticleTarget target)
        {
            if (_targets.Contains(target))
            {
                return;
            }

            _allCount = -1;
            _targets.Add(target);
        }