public StepSizeAttribute(float stepSize) { this.StepSizeFloat = stepSize; this.StepSizeInt = (int)stepSize; }