기술 자료

Unity Engine

Unity Engine

LookupArtifact(ArtifactKey)

Returns an ImportResultID corresponding to an Import operation.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static ImportResultID LookupArtifact(ArtifactKey artifactKey)

Parameters

artifactKey

ArtifactKey specifying an artifact to look up.

Returns

Type

Description

ImportResultIDA unique identifier representing the artifact specified by artifactKey.

Remarks

An invalid [[ImportResultID] is returned in the following circumstances:
  1. artifactKey
    contains an invalid or unknown Asset GUID.
  2. artifactKey
    contains an invalid or unknown Importer type.
  3. artifactKey
    has not produced a result at this time. An async Produce operation may still be in progress for this
    artifactKey
    .