void OnAnnotationColorChanged(Color color) { const float annotationPointerAlpha = 0.75f; color.a = annotationPointerAlpha; m_AnnotationPointer.SetColor(color); m_BrushSizeUI.OnBrushColorChanged(color); }
void OnColorPickerValueChanged(Color color) { m_Preferences.annotationColor = color; const float annotationPointerAlpha = 0.75f; color.a = annotationPointerAlpha; m_AnnotationPointer.SetColor(color); m_BrushSizeUI.OnBrushColorChanged(color); }