Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EntityIdsToObjectList(NativeArray<EntityId>, List<Object>)

Translates an array of entity IDs to a list of Object references.
Read time 1 minuteLast updated 5 days ago

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.