This version of Unity is unsupported.

AnimationUtility.TangentMode.Constant

Description

The curve retains a constant value between two keys.