Gets the Entity instances associated with the specified key.
public bool TryGetEntities(TKey key, out System.ReadOnlySpan<DefaultEcs.Entity> entities);
key
TKey
The key of the Entity instances to get.
entities
System.ReadOnlySpan<Entity>
When this method returns, contains the Entity instances associated with the specified key, if the key is found; otherwise, the type default value. This parameter is passed uninitialized.
System.Boolean
true if the EntityMultiMap<TKey> contains Entity instances with the specified key; otherwise, false.