void OnDrawGizmos() { if (center) { Gizmos.color = gizmoColor; SampleValues(Curves.Scratch); Curves.DrawCurveGizmo(Curves.Scratch); } }
void OnDrawGizmos() { if (begin && end) { Gizmos.color = gizmoColor; SampleValues(Curves.Scratch); Curves.DrawCurveGizmo(Curves.Scratch); } }