Version: 2018.2
public float time ;

説明

キーフレームの時間

2D グラフでは x の値と考える事ができます。

See Also: value.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { AnimationCurve curve = AnimationCurve.Linear(0, 0, 5, 5); // Extract the time from the first keyframe of a curve Debug.Log(curve[0].time); } }