Skip to main content

CoroutineYields.FloatComparer

A private class in Alta.Coroutines, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private comparer that treats floats within 0.01 of each other as equal, so WaitForSeconds reuses cached yields for close times.

Constructors​

MemberWhat it is
FloatComparer()Creates a CoroutineYields.FloatComparer with default values.

Fields​

1 private and internal field
MemberWhat it is
private const float checkThe 0.01 tolerance.