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