public FloatCurve(FloatCurve copy, IReadOnlyList <KeyframeTpl <Float> > keyframes) : this(copy.Path, copy.Attribute, copy.ClassID, copy.Script, keyframes) { }
private void AddScriptCurve(GenericBinding binding, string path, float time, float value) { #warning TODO: FloatCurve curve = new FloatCurve(path, ScriptPropertyPrefix + binding.Attribute, ClassIDType.MonoBehaviour, binding.Script.CastTo <MonoScript>()); AddFloatKeyframe(curve, time, value); }