Example #1
0
    protected override void OnDestroy()
    {
        base.OnDestroy();

        if (AttachJoint.IsValid())
        {
            AttachJoint.Remove();
        }

        if (AttachRope != null)
        {
            AttachRope.Destroy(true);
        }
    }