기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetTypeForObjects(ObjectIdentifier[])

Returns the System.Type of the ObjectIdentifier s and the referenced SerializeReference class types specified by objectIDs.
읽는 시간 1분최근 업데이트: 21일 전

Definition

public static Type[] GetTypeForObjects(ObjectIdentifier[] objectIDs)

Parameters

The specific objects.

Returns

Type

Description

Type[]The array of unique types.

Remarks

The results do not directly correspond to the input ObjectIdentifiers by index as a single ObjectIdentifier can return multiple types. Use ContentBuildInterface.GetTypesForObject or ContentBuildInterface.GetTypeForObject if you want that information. Internal use only. See note on ContentBuildInterface.