public void SetBothConstant(object keysToSet) { this.SetTangent(2, AnimationUtility.TangentMode.Constant, (List<KeyIdentifier>) keysToSet); }