Version: 2019.4
public void SetAnimationCurve (int nameID, AnimationCurve c);
public void SetAnimationCurve (string name, AnimationCurve c);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
cThe new animation curve.
nameプロパティーの名前

説明

The new animation curve value.

Automatically changes overridden state for this property to true.