EntityQueryBuilder.AsMultiMap_TKey_(IEqualityComparer_TKey_).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.EntityQueryBuilder
EntityQueryBuilder.AsMultiMap(IEqualityComparer) Method
Returns an EntityMultiMap<TKey> with the specified rules.
public DefaultEcs.EntityMultiMap<TKey> AsMultiMap<TKey>(System.Collections.Generic.IEqualityComparer<TKey> comparer);
Type parameters
TKey
The component type to use as key.
Parameters
comparer System.Collections.Generic.IEqualityComparer<TKey>
The System.Collections.Generic.IEqualityComparer<> implementation to use when comparing keys, or null to use the default System.Collections.Generic.EqualityComparer<>.Default for the type of the key.