Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ImportResultID

Uniquely identifies a product of an Import operation performed on an Asset Source by an Importer class.
Read time 1 minuteLast updated 10 days ago

Definition

public struct ImportResultID : IEquatable<ImportResultID>

Remarks

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.

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.

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.