public SetCurve ( int index, AnimationCurve curveValue ) : void | ||
index | int | |
curveValue | AnimationCurve | |
return | void |
public void SetCurve(int index, AnimationCurve curveValue)
{
SerializedProperty curveProperty = this.GetCurveProperty(index);
if (curveProperty != null)
{
curveProperty.animationCurveValue = curveValue;
}
}