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
- Type: Struct
- Namespace: UnityEditor.Experimental
- Assembly: UnityEditor.CoreModule
- Implements: IEquatable<ImportResultID>
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 parameter.
importerTypeAdditional Resources: AssetDatabaseExperimental.LookupArtifact, AssetDatabaseExperimental.ProduceArtifact, AssetDatabaseExperimental.ProduceArtifactAsync.
Properties
Property | Description |
|---|---|
| isValid | True if this refers to the product of an Import operation performed on an Asset Source by an Importer class, otherwise false. |
Methods
Method | Description |
|---|---|
| Equals | Returns true if this ImportResultID is equal to another ImportResultID, otherwise false. |
| GetHashCode | Computes a hash code for this ImportResultID. |
| ToString | Returns a string representation of the ImportResultID. |