public Function(FunctionConfig config) { _name = "New function"; _begin = config.Func.Begin; _end = config.Func.End; _function = config.Func; }
public Function() { _name = "New function"; _begin = new FKey(Vector2.zero); _end = new FKey(Vector2.zero); _function = new AnimationCurve(new Keyframe[] { _begin, _end }); }