Example #1
0
    /// <summary>
    /// Deletes the muscle gameObject and the sprint joint
    /// </summary>
    public override void Delete()
    {
        base.Delete();

        Destroy(spring);
        startingBone.Disconnect(this);
        endingBone.Disconnect(this);
        Destroy(gameObject);
    }