/// <summary> /// Removes this element in the collison layer. /// </summary> public void RemoveInLayer() { if (parentLayer != null) { parentLayer.RemoveCollide(this); parentLayer = null; } }
/// <summary> /// Removes this element in the collison layer. /// </summary> public void RemoveInLayer() { if (parentLayer != null) { parentLayer.RemoveCollide(this); parentLayer = null; } }