Skip to content

PackageImporter

ClassAssetInventoryAssetInventory.Editor
public sealed class PackageImporter : AssetImporter

No description is available for this type.

public Task IndexRough(string path, bool fromAssetStore)

No description is available for this member.

Parameters

Name Type Description
path System.String
fromAssetStore System.Boolean

Returns

System.Threading.Tasks.Task — No return description is available.

public static bool ApplyTags(Asset asset, Package info, bool fromAssetStore)

No description is available for this member.

Parameters

Name Type Description
asset AssetInventory.Asset
info AssetInventory.Package
fromAssetStore System.Boolean

Returns

System.Boolean — No return description is available.

CreateAsset(Package, string, PackageSource)

Section titled “CreateAsset(Package, string, PackageSource)”
public static Task<Asset> CreateAsset(Package info, string package, PackageSource source)

No description is available for this member.

Parameters

Name Type Description
info AssetInventory.Package
package System.String
source UnityEditor.PackageManager.PackageSource

Returns

System.Threading.Tasks.Task{AssetInventory.Asset} — No return description is available.

public Task IndexDetails(int assetId = 0)

No description is available for this member.

Parameters

Name Type Description
assetId System.Int32

Returns

System.Threading.Tasks.Task — No return description is available.

public static Package ReadPackageFile(string package)

No description is available for this member.

Parameters

Name Type Description
package System.String

Returns

AssetInventory.Package — No return description is available.

public static bool Persist(PackageInfo package)

No description is available for this member.

Parameters

Name Type Description
package UnityEditor.PackageManager.PackageInfo

Returns

System.Boolean — No return description is available.