private float OnMouseUp() { if (GUIUtility.hotControl == this.id) { this.CurrentEvent().Use(); GUIUtility.hotControl = 0; } return this.currentValue; }