ProtectedconstructorSnap HiddenReadonlyassetsA list of all the available assets this handle contains.
ReadonlyassetSource path of this asset within the asset tree.
ReadonlyidThe unique id of the entity.
ReadonlyisIndicates whether this item is packed inside a native package.
ReadonlymetaMetadata associated with this entity, providing access to its unique identifier and other descriptive properties.
ReadonlynativeDescriptor identifying the native package associated with this import metadata.
ReadonlynativeRoot AssetImportMetadata entry of the native package containing this item.
ReadonlyprimaryThe primary asset of this handle. Usually, this is the asset you will assign after accessing an asset.
ReadonlysourceThe source file where the asset was imported from.
ReadonlytopmostTopmost root AssetImportMetadata in the native package hierarchy.
ReadonlytypeThe entity's type.
A list of entities which this entity has a reference to.
Retrieves a string value from the extra data store by key.
StaticgetReturns child AssetImportMetadata entries within the native package, using the specified iteration depth.
A list of entities which has a reference to this entity.
StaticgetReturns the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Stores a string value in the extra data store under the given key.
StaticstaticReturns the static metadata descriptor for the AssetImportMetadata type.
A handle for the metadata of an asset.
Example