public void RemoveSpherePair(SerializableClothSphereColliderPair collider, bool triggerOnChange = false) { Value.Spheres.Remove(collider); if (triggerOnChange) { FinishModifications(); } }
public void AddSpherePair(SerializableClothSphereColliderPair colliders, bool triggerOnChange = false) { Value.Spheres.Add(colliders); if (triggerOnChange) { FinishModifications(); } }