protected override void UpdateJoint() { if (JointOverride != null) { JointOverride.ApplySettings(Joint); } else if (JointSettings != null) { JointSettings.ApplySettings(Joint); } else { Debug.LogError($"JointSettings field is empty, must be populated with HVRJointSettings scriptable object."); } }
protected virtual void UpdateJoint() { if (Stopped) { return; } if (JointOverride != null) { JointOverride.ApplySettings(Joint); } else if (JointSettings != null) { JointSettings.ApplySettings(Joint); } }