ProjectStorms.AirshipSuicideBehaviour.ClampInputs C# (CSharp) Method

ClampInputs() public method

Clamps the input values into the [-1, 1] range.
public ClampInputs ( ) : void
return void
        void ClampInputs()
        {
            pitch = Mathf.Clamp(pitch, -1, 1);
            yaw = Mathf.Clamp(yaw, -1, 1);
        }