private void RecalculateCurves() { IntersectedPointsByValue.Clear(); Curves.ForEach(c => { c.RecalculateValues(GetDataCurrnecyInCurrentTimePeriod()); }); }
static void CheckHideFlags(HideFlags hideFlags = HideFlags.HideInHierarchy) { Curves.ForEach(x => x.gameObject.hideFlags = hideFlags); Hazards.ForEach(x => x.gameObject.hideFlags = hideFlags); Tees.ForEach(x => x.gameObject.hideFlags = hideFlags); Shots.ForEach(x => x.gameObject.hideFlags = hideFlags); Pins.ForEach(x => x.gameObject.hideFlags = hideFlags); Measures.ForEach(x => x.gameObject.hideFlags = hideFlags); FlyBys.ForEach(x => x.gameObject.hideFlags = hideFlags); }
public void ConvertToMM() { Curves.ForEach(curve => curve.ConvertToMM()); Origin.ConvertToMM(); }