private void CleanUpLasso() { method = LassoMethod.None; lineRenderer.positionCount = 0; isDrawing = false; AllowOtherInput(); }
private void StartLasso(LassoMethod newMethod) { DisallowOtherInput(); isDrawing = true; method = newMethod; firstPoint = thirdLastPoint = secondLastPoint = Input.mousePosition; lineRenderer.positionCount = 0; info.points.Clear(); AddPoint(); AddPoint(); }