public bool FromJSON(J.Node n) { var o = n.AsObject("Movement"); if (o == null) { return(false); } o.Opt <EasingFactory, IEasing>("easing", ref easing_); { RandomizableFloat m = null; o.Opt("minimum", ref m); Minimum = m; } { RandomizableFloat m = null; o.Opt("maximum", ref m); Maximum = m; } return(true); }
public Movement(RandomizableFloat min, RandomizableFloat max) { Minimum = min; Maximum = max; }