AssetVersionList

Internal proxy for Unity's UnityEditor.PackageManager.UI.Internal.BaseVersionList. Provides access to the primary, imported, and latest PackageVersion for an Asset Store package.

Definition

Namespace: Paragon.Editor.ThirdPartyPackageImporter.Internals Assembly: Paragon.Editor.dll

[InternalProxy("UnityEditor.PackageManager.UI.Internal.BaseVersionList", "UnityEditor.CoreModule")]
internal class AssetVersionList : InternalProxy<AssetVersionList>

Inheritance: InternalProxy<AssetVersionList>AssetVersionList

Remarks

AssetVersionList wraps Unity's internal version list for an asset package. All three version properties are cached as PackageVersion proxies during construction to avoid repeated reflection calls.

This class is accessed through Package.versions and is used by ThirdPartyPackageVersion to extract installed and store version metadata.

Properties

primary

public PackageVersion primary { get; }

The primary version of the package. Cached during construction.

imported

The currently imported (installed) version. null if the package is not imported. Cached during construction.

latest

The latest available version on the Asset Store. Cached during construction.

Constructors

AssetVersionList

Parameter
Type
Description

assetVersionList

object

The internal Unity BaseVersionList instance

Caches primary, imported, and latest as PackageVersion proxies.

See Also

  • Package — Contains this version list via Package.versions

  • PackageVersion — The version objects contained in this list

Last updated