private void SetCurveRequirements() { this.scalar.floatValue = Mathf.Abs(this.scalar.floatValue); if (this.scalar.floatValue == 0f) { this.scalar.floatValue = this.m_DefaultCurveScalar; } }