struct in UnityEditor.Experimental
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.
CloseFor 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.
CloseAn ArtifactKey is used for specifying an artifact to lookup or produce.
One example of producing an artifact is to run and importer on a specific asset. The importer is specified by type (e.g. typeof(MyImporter) and the asset by its guid. From these two you can create an ArtifactKey and use it to ask the assetdatabase to produce the artifact. You can also create an ArtifactKey from only a guid. In that case the AssetDatabase will automatically select the importer from the list of valid importers.
guid | The guid specifying the asset in question. |
importerType | The managed type of the importer to use for producing the artifact. |
isValid | Returns true is the hash value is valid. (Read Only) |
ArtifactKey | Construct an ArtifactKey. |