protected virtual void ReleaseTarget() { if (!HasTarget()) { return; } m_OwnTarget.DetachFromTargettingSource(); m_OwnTarget = null; if (null != SourcePhysicsHandle) { SourcePhysicsHandle.connectedBody = null; } if (null != m_TargettingHandle) { Destroy(m_TargettingHandle); } m_TargettingHandle = null; }