void HandleOverEffect(HandleBase p_axis) { if (draggingAxis == null && previousAxis != null && previousAxis != p_axis) { previousAxis.SetDefaultColor(); } if (p_axis != null && draggingAxis == null) { p_axis.SetColor(Color.yellow); } previousAxis = p_axis; }
void HandleOverEffect(HandleBase p_axis) { if (_draggingHandle == null && _previousAxis != null && _previousAxis != p_axis) { _previousAxis.SetDefaultColor(); } if (p_axis != null && _draggingHandle == null) { p_axis.SetColor(Color.yellow); } _previousAxis = p_axis; }