I have an Animation Curve defined in the inspector for some float interpolation, and I’d like to then edit some of the Keyframe’s properties at runtime. However, something like
Curve1.keys.time = 5f;
seems to do nothing to affect the Keyframe. The best I can do is copy the Keyframe array, adjust it separately, and then reassign it back to the Curve. Am I missing something that would let me edit the variables as I need them?