Exemple #1
0
 public void SaveCurve(AnimationWindowCurve curve)
 {
     Undo.RegisterCompleteObjectUndo(activeAnimationClip, "Edit Curve");
     AnimationWindowUtility.SaveCurve(activeAnimationClip, curve);
 }
 public void SaveCurve(AnimationWindowCurve curve)
 {
     Undo.RegisterCompleteObjectUndo(curve.clip, "Edit Candidate Curve");
     AnimationWindowUtility.SaveCurve(curve.clip, curve);
 }