This version of Unity is unsupported.

AnimationUtility.GetFloatValue

Obsolete This overload is deprecated. Use the one with EditorCurveBinding instead.

Declaration

public static bool GetFloatValue(GameObject root, string relativePath, Type type, string propertyName, out float data);

Description

Retrieves the current float value by sampling a curve value on a specific game object.

Useful for recording keyframes.