Method OnValidate OnValidate() Validates all fields, sets the maximumRPM and calculates the power curve. Make sure to call this method from your OnValidate method. Declaration public void OnValidate()