private void UpdateBrushSelection(Brush brush) { m_BrushSelection.Clear(); m_CircleVertexSelector.spriteMeshData = meshTool.mesh; m_CircleVertexSelector.position = brush.position; m_CircleVertexSelector.radius = brush.size; m_CircleVertexSelector.selection = m_BrushSelection; m_CircleVertexSelector.Select(); }
private void View_CloseView(object sender, EventArgs e) { _selection.Clear(); }