private void Update() { if (ToggleToGenerate != _previous) { _points = GenerateRandomSet2D(GenerateRadius, GenerateCountMin, GenerateCountMax); _circle0 = Circle2.CreateFromPointsAAB(_points); _circle1 = Circle2.CreateFromPointsAverage(_points); } _previous = ToggleToGenerate; }