Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ImportResultID

struct in UnityEditor.Experimental

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Uniquely identifies a product of an Import operation performed on an Asset Source by an Importer class.

For example, a Material (.mat) Asset file imported with the built-in Importer will generate a result with an ImportResultID unique to that combination of Asset GUID and importer. The Importer class can be specified in some APIs such as AssetDatabaseExperimental.ProduceArtifactsAsync, which takes an optional importerType parameter.

Additional resources: AssetDatabaseExperimental.LookupArtifact, AssetDatabaseExperimental.ProduceArtifact, AssetDatabaseExperimental.ProduceArtifactAsync.

Properties

Property Description
isValidTrue if this refers to the product of an Import operation performed on an Asset Source by an Importer class, otherwise false.

Public Methods

Method Description
EqualsReturns true if this ImportResultID is equal to another ImportResultID, otherwise false.
GetHashCodeComputes a hash code for this ImportResultID.
ToStringReturns a string representation of the ImportResultID.