Internal_SetObjectReferenceCurve() private static method

private static Internal_SetObjectReferenceCurve ( AnimationClip clip, EditorCurveBinding binding, ObjectReferenceKeyframe keyframes ) : void
clip AnimationClip
binding EditorCurveBinding
keyframes ObjectReferenceKeyframe
return void
Example #1
0
 public static void SetObjectReferenceCurve(AnimationClip clip, EditorCurveBinding binding, ObjectReferenceKeyframe[] keyframes)
 {
     AnimationUtility.Internal_SetObjectReferenceCurve(clip, binding, keyframes);
     if (AnimationUtility.onCurveWasModified != null)
     {
         AnimationUtility.onCurveWasModified(clip, binding, (keyframes == null) ? AnimationUtility.CurveModifiedType.CurveDeleted : AnimationUtility.CurveModifiedType.CurveModified);
     }
 }