Version: 2017.3

FloatComparer

class in UnityEngine.Assertions.Comparers

매뉴얼로 전환

설명

A float comparer used by Assert performing approximate comparison.

정적 변수

kEpsilonDefault epsilon used by the comparer.
s_ComparerWithDefaultToleranceDefault instance of a comparer class with deafult error epsilon and absolute error check.

생성자

FloatComparerCreates an instance of the comparer.

정적 함수

AreEqualPerforms equality check with absolute error check.
AreEqualRelativePerforms equality check with relative error check.