예제 #1
0
        private void OnPointClick(object sender, UICurveEditorPoint.EventArgs e)
        {
            var point = sender as UICurveEditorPoint;

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

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