public void RemoveDeformer(DeformerComponent deformer) { if (deformers == null) { return; } if (deformers.Contains(deformer)) { deformers.Remove(deformer); } }
public void AddDeformer(DeformerComponent deformer) { if (deformers == null) { deformers = new List <DeformerComponent> (); } if (!deformers.Contains(deformer)) { deformers.Add(deformer); } }