Asset
[Serializable]public sealed class AssetNo description is available for this type.
Fields
Section titled “Fields”
public const string NONE = "-no attached package-"No description is available for this member.
Returns
System.String — No return description is available.
UNITY_REGISTRY
Section titled “UNITY_REGISTRY”public const string UNITY_REGISTRY = "Unity"No description is available for this member.
Returns
System.String — No return description is available.
SUB_PATH
Section titled “SUB_PATH”public const char SUB_PATH = '|'No description is available for this member.
Returns
System.Char — No return description is available.
Properties
Section titled “Properties”
public int Id { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
ParentId
Section titled “ParentId”[Indexed]public int ParentId { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
AssetSource
Section titled “AssetSource”[Indexed]public Asset.Source AssetSource { get; set; }No description is available for this member.
Returns
AssetInventory.Asset.Source — No return description is available.
Location
Section titled “Location”[Indexed][Collation("NOCASE")]public string Location { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
OriginalLocation
Section titled “OriginalLocation”public string OriginalLocation { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
OriginalLocationKey
Section titled “OriginalLocationKey”public string OriginalLocationKey { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
Registry
Section titled “Registry”public string Registry { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
Repository
Section titled “Repository”public string Repository { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
PackageSource
Section titled “PackageSource”[Indexed]public PackageSource PackageSource { get; set; }No description is available for this member.
Returns
UnityEditor.PackageManager.PackageSource — No return description is available.
ForeignId
Section titled “ForeignId”[Indexed]public int ForeignId { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
PackageSize
Section titled “PackageSize”public long PackageSize { get; set; }No description is available for this member.
Returns
System.Int64 — No return description is available.
SafeName
Section titled “SafeName”[Indexed]public string SafeName { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
DisplayName
Section titled “DisplayName”public string DisplayName { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
SafePublisher
Section titled “SafePublisher”[Indexed]public string SafePublisher { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
DisplayPublisher
Section titled “DisplayPublisher”public string DisplayPublisher { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
SafeCategory
Section titled “SafeCategory”[Indexed]public string SafeCategory { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
DisplayCategory
Section titled “DisplayCategory”public string DisplayCategory { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
PublisherId
Section titled “PublisherId”public int PublisherId { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
public string Slug { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
Revision
Section titled “Revision”public int Revision { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
Description
Section titled “Description”public string Description { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
KeyFeatures
Section titled “KeyFeatures”public string KeyFeatures { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
CompatibilityInfo
Section titled “CompatibilityInfo”public string CompatibilityInfo { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
SupportedUnityVersions
Section titled “SupportedUnityVersions”public string SupportedUnityVersions { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
BIRPCompatible
Section titled “BIRPCompatible”[Indexed]public bool BIRPCompatible { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
URPCompatible
Section titled “URPCompatible”[Indexed]public bool URPCompatible { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
HDRPCompatible
Section titled “HDRPCompatible”[Indexed]public bool HDRPCompatible { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
Keywords
Section titled “Keywords”public string Keywords { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
PackageDependencies
Section titled “PackageDependencies”public string PackageDependencies { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
Version
Section titled “Version”public string Version { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
LatestVersion
Section titled “LatestVersion”public string LatestVersion { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
UpdateStrategy
Section titled “UpdateStrategy”public Asset.Strategy UpdateStrategy { get; set; }No description is available for this member.
Returns
AssetInventory.Asset.Strategy — No return description is available.
License
Section titled “License”public string License { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
LicenseLocation
Section titled “LicenseLocation”public string LicenseLocation { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
PurchaseDate
Section titled “PurchaseDate”public DateTime PurchaseDate { get; set; }No description is available for this member.
Returns
System.DateTime — No return description is available.
FirstRelease
Section titled “FirstRelease”public DateTime FirstRelease { get; set; }No description is available for this member.
Returns
System.DateTime — No return description is available.
LastRelease
Section titled “LastRelease”public DateTime LastRelease { get; set; }No description is available for this member.
Returns
System.DateTime — No return description is available.
LastUpdate
Section titled “LastUpdate”public DateTime LastUpdate { get; set; }No description is available for this member.
Returns
System.DateTime — No return description is available.
AssetRating
Section titled “AssetRating”public float AssetRating { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
RatingCount
Section titled “RatingCount”public int RatingCount { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
Hotness
Section titled “Hotness”public float Hotness { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
PriceEur
Section titled “PriceEur”public float PriceEur { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
PriceUsd
Section titled “PriceUsd”public float PriceUsd { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
PriceCny
Section titled “PriceCny”public float PriceCny { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
Requirements
Section titled “Requirements”public string Requirements { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
ReleaseNotes
Section titled “ReleaseNotes”public string ReleaseNotes { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
OfficialState
Section titled “OfficialState”[Indexed]public Asset.OfficialStateType OfficialState { get; set; }No description is available for this member.
Returns
AssetInventory.Asset.OfficialStateType — No return description is available.
IsHidden
Section titled “IsHidden”public bool IsHidden { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
Exclude
Section titled “Exclude”[Indexed]public bool Exclude { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
NoIndex
Section titled “NoIndex”[Indexed]public bool NoIndex { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
Backup
Section titled “Backup”public bool Backup { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
KeepExtracted
Section titled “KeepExtracted”public bool KeepExtracted { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
public bool UseAI { get; set; }No description is available for this member.
Returns
System.Boolean — No return description is available.
UseSemanticIndex
Section titled “UseSemanticIndex”[Indexed]public bool? UseSemanticIndex { get; set; }No description is available for this member.
Returns
System.Nullable{System.Boolean} — No return description is available.
UseCodeIndex
Section titled “UseCodeIndex”[Indexed]public bool? UseCodeIndex { get; set; }No description is available for this member.
Returns
System.Nullable{System.Boolean} — No return description is available.
UploadId
Section titled “UploadId”public int UploadId { get; set; }No description is available for this member.
Returns
System.Int32 — No return description is available.
public string ETag { get; set; }No description is available for this member.
Returns
System.String — No return description is available.
LastOnlineRefresh
Section titled “LastOnlineRefresh”public DateTime LastOnlineRefresh { get; set; }No description is available for this member.
Returns
System.DateTime — No return description is available.
CurrentState
Section titled “CurrentState”public Asset.State CurrentState { get; set; }No description is available for this member.
Returns
AssetInventory.Asset.State — No return description is available.
CurrentSubState
Section titled “CurrentSubState”public Asset.SubState CurrentSubState { get; set; }No description is available for this member.
Returns
AssetInventory.Asset.SubState — No return description is available.
ParentAsset
Section titled “ParentAsset”public Asset ParentAsset { get; set; }No description is available for this member.
Returns
AssetInventory.Asset — No return description is available.
IsSemanticIndexEnabled
Section titled “IsSemanticIndexEnabled”public bool IsSemanticIndexEnabled { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
IsCodeIndexEnabled
Section titled “IsCodeIndexEnabled”public bool IsCodeIndexEnabled { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
Constructors
Section titled “Constructors”
Asset()
Section titled “Asset()”public Asset()No description is available for this member.
Asset(Package)
Section titled “Asset(Package)”public Asset(Package package)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
package |
AssetInventory.Package | |
Asset(PackageInfo)
Section titled “Asset(PackageInfo)”public Asset(PackageInfo package)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
package |
UnityEditor.PackageManager.PackageInfo |
Methods
Section titled “Methods”
GetLocation(bool)
Section titled “GetLocation(bool)”public string GetLocation(bool expanded)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
expanded |
System.Boolean |
Returns
System.String — No return description is available.
GetLocation(bool, bool)
Section titled “GetLocation(bool, bool)”public Task<string> GetLocation(bool expanded, bool resolveParent)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
expanded |
System.Boolean | |
resolveParent |
System.Boolean |
Returns
System.Threading.Tasks.Task{System.String} — No return description is available.
GetPreviewFile(string, bool)
Section titled “GetPreviewFile(string, bool)”public string GetPreviewFile(string previewFolder, bool validate = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
previewFolder |
System.String | |
validate |
System.Boolean |
Returns
System.String — No return description is available.
GetMediaFile(AssetMedia, string, bool)
Section titled “GetMediaFile(AssetMedia, string, bool)”public string GetMediaFile(AssetMedia media, string previewFolder, bool validate = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
media |
AssetInventory.AssetMedia | |
previewFolder |
System.String | |
validate |
System.Boolean |
Returns
System.String — No return description is available.
GetMediaThumbnailFile(AssetMedia, string, bool)
Section titled “GetMediaThumbnailFile(AssetMedia, string, bool)”public string GetMediaThumbnailFile(AssetMedia media, string previewFolder, bool validate = true)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
media |
AssetInventory.AssetMedia | |
previewFolder |
System.String | |
validate |
System.Boolean |
Returns
System.String — No return description is available.
GetChildren()
Section titled “GetChildren()”public List<Asset> GetChildren()No description is available for this member.
Returns
System.Collections.Generic.List{AssetInventory.Asset} — No return description is available.
GetUnityAssetOrigin()
Section titled “GetUnityAssetOrigin()”public object GetUnityAssetOrigin()No description is available for this member.
Returns
System.Object — No return description is available.
GetAssetOrigin()
Section titled “GetAssetOrigin()”public AssetOrigin GetAssetOrigin()No description is available for this member.
Returns
AssetInventory.AssetOrigin — No return description is available.
GetRootAsset()
Section titled “GetRootAsset()”public Asset GetRootAsset()No description is available for this member.
Returns
AssetInventory.Asset — No return description is available.
GetSafeVersion()
Section titled “GetSafeVersion()”public string GetSafeVersion()No description is available for this member.
Returns
System.String — No return description is available.
ToString()
Section titled “ToString()”public override string ToString()No description is available for this member.
Returns
System.String — No return description is available.