public BioJoint AddJoint() { if (Joint != null) { Debug.Log("The segment already has a joint."); } else { Joint = Utility.AddBioJoint(this); Character.Refresh(); } return(Joint); }
void Awake() { EditorApplication.playmodeStateChanged += PlaymodeStateChanged; Target = (BioIK)target; TargetTransform = Target.transform; Target.Refresh(false); DoF = 0; //MakeVisible(TargetTransform); //MakeInvisible(TargetTransform); }