This version of Unity is unsupported.

Gradient.mode

public GradientMode mode;

Description

Control how the gradient is evaluated.

By default, when sampling the gradient, an interpolated color between 2 keys will be returned.