Complete the code to declare an AnimationClip variable named clip.
AnimationClip [1];The variable name for the AnimationClip is clip.
Complete the code to create a new AnimationClip instance.
AnimationClip clip = new [1]();To create a new AnimationClip, use new AnimationClip().
Fix the error in the code to assign the clip to the Animation component.
animation.[1] = clip;The legacy Animation component has a clip property to assign an AnimationClip directly.
Fill both blanks to create a dictionary mapping animation names to clips.
var clips = new Dictionary<string, AnimationClip> { {"Run", [1], {"Jump", [2] };The dictionary keys are animation names and values are the corresponding AnimationClip variables.
Fill all three blanks to create an AnimationClip, set its frame rate, and add a curve.
AnimationClip [1] = new AnimationClip(); [1].frameRate = [2]f; [1].SetCurve("", typeof(Transform), "localPosition.x", [3]);
Create a clip named clip, set its frame rate to 30, and add an animation curve named animationCurve.
