Version: 2022.3
言語: 日本語
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.

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.