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