ドキュメント

Unity Engine

Unity Engine

InstanceIDToObjectList(NativeArray<int>, List<Object>)

Translates an array of instance IDs to a list of Object references.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
注意
Removed. InstanceIDToObjectList is obsolete. Use EntityIdsToObjectList instead.
public static void InstanceIDToObjectList(NativeArray<int> instanceIDs, List<Object> objects)

Parameters

instanceIDs

IDs of Object instances.

List of resoved object references, instanceIDs and objects will be of the same length and in the same order, the list will be resized if needed. Missing objects will be null.

Remarks

This is similar to Resources.InstanceIDToObject but resolves several IDs at once.