protected override void OnDestroy() { if( magnetBody != null ) magnetBody.Collision -= magnetBody_Collision; DestroyThreads(); base.OnDestroy(); }