Version: 2023.2
언어: 한국어

Resources.InstanceIDsToValidArray

매뉴얼로 전환
public static void InstanceIDsToValidArray (NativeArray<int> instanceIDs, NativeArray<bool> validArray);
public static void InstanceIDsToValidArray (ReadOnlySpan<int> instanceIDs, Span<bool> validArray);

파라미터

instanceIDs IDs of Object instances.
validArray Array of bools indicating whether a given instance ID corresponds to a valid Object.

설명

Translates an array of instance IDs to an array of bools indicating whether a given instance ID from instanceIDs corresponds to a valid Object in memory. The Object could have been deleted or not loaded into memory yet.

instanceIDs and validArray must be of the same length. The value at each index in validArray corresponds with the instance ID at the same index in instanceIDs.