public ButtonWithAnimatedIconRotation(Func<float> angleCallback, Action repaintCallback, float repaintsPerSecond, bool mouseDownButton) { this.m_CallbackController = new CallbackController(repaintCallback, repaintsPerSecond); this.m_AngleCallback = angleCallback; this.m_MouseDownButton = mouseDownButton; }