Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.66 KB

EntityMultiMap_TKey_.TryGetEntities(TKey,ReadOnlySpan_Entity_).md

File metadata and controls

27 lines (17 loc) · 1.66 KB

EntityMultiMap.TryGetEntities(TKey, ReadOnlySpan) Method

Gets the Entity instances associated with the specified key.

public bool TryGetEntities(TKey key, out System.ReadOnlySpan<DefaultEcs.Entity> entities);

Parameters

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.

Returns

System.Boolean
true if the EntityMultiMap<TKey> contains Entity instances with the specified key; otherwise, false.