This version of Unity is unsupported.

FloatEqualityComparer Constructor

Declaration

public FloatEqualityComparer(float allowedError);

Parameters

allowedError The relative error to be considered while comparing the float values.

Description

Create an instance with a custom error value.