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

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