EntityIdsToObjectList(NativeArray<EntityId>, List<Object>)
Translates an array of entity IDs to a list of Object references.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static void EntityIdsToObjectList(NativeArray<EntityId> entityIds, List<Object> objects)
Parameters
IDs of Object instances.
List of resolved object references, entityIds and objects that are of the same length and in the same order, and the list is resized if needed. Missing objects are null.
Remarks
This is similar to Resources.EntityIdToObject but resolves several IDs at once.