Skip to main content

HashedGeneralValueComparer

A class in Alta.Values, Alta.

Equality comparer that treats HashedGeneralValue assets as equal when their hashes match. Used for dictionaries keyed by stats and similar.

Constructors​

1 private and internal constructor
MemberWhat it is
private HashedGeneralValueComparer()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Properties​

MemberWhat it is
static HashedGeneralValueComparer Instance { get; }The shared comparer.