public virtual void OnBeginDrag(DCLBuilderGizmoAxis axis, Transform entityTransform) { startDragging = true; targetTransform = entityTransform; activeAxis = axis; axis.SetColorHighlight(); }
private void SetAxisHover(DCLBuilderGizmoAxis axis) { if (hoveredAxis != null && hoveredAxis != axis) { hoveredAxis.SetColorDefault(); } else if (axis != null) { axis.SetColorHighlight(); } hoveredAxis = axis; }