Exemplo n.º 1
0
        private void OnPointClick(object sender, UICurveEditorPoint.EventArgs e)
        {
            var point = sender as UICurveEditorPoint;

            if (!e.Data.dragging && e.IsPointEvent)
            {
                SetSelectedPoint(point);
            }
        }
Exemplo n.º 2
0
        private void OnPointBeginDrag(object sender, UICurveEditorPoint.EventArgs e)
        {
            var point = sender as UICurveEditorPoint;

            if (_selectedPoint != point)
            {
                SetSelectedPoint(point);
            }
        }
Exemplo n.º 3
0
 private void OnPointDragging(object sender, UICurveEditorPoint.EventArgs e) => _selectedPoint?.owner?.Update();