docs.unity3d.com
    Show / Hide Table of Contents

    Class CatalogProductReference

    Class CatalogProductReference.

    Inheritance
    Object
    AssetProductReference
    CatalogProductReference
    Inherited Members
    AssetProductReference.key
    AssetProductReference.AssetReference
    AssetProductReference.SetAssetReference(AssetReferenceGameObject)
    AssetProductReference.Product
    AssetProductReference.IsProduct(Product)
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    [Serializable]
    public class CatalogProductReference : AssetProductReference

    Constructors

    CatalogProductReference(IResourceLocation)

    Initializes a new instance of the CatalogProductReference class.

    Declaration
    public CatalogProductReference(IResourceLocation mCatalogAsset)
    Parameters
    Type Name Description
    IResourceLocation mCatalogAsset

    The m catalog asset.

    Exceptions
    Type Condition
    ArgumentNullException

    mCatalogAsset

    Properties

    FriendlyName

    Gets or sets the name of the friendly.

    Declaration
    public override string FriendlyName { get; set; }
    Property Value
    Type Description
    String

    The name of the friendly.

    Overrides
    AssetProductReference.FriendlyName

    Methods

    IsValid()

    Returns true if ... is valid.

    Declaration
    public override bool IsValid()
    Returns
    Type Description
    Boolean

    true if this instance is valid; otherwise, false.

    Overrides
    AssetProductReference.IsValid()

    LoadAssetAsync<TObject>()

    Loads the asset asynchronous.

    Declaration
    public override AsyncOperationHandle<TObject> LoadAssetAsync<TObject>()
    Returns
    Type Description
    AsyncOperationHandle<TObject>

    AsyncOperationHandle<TObject>.

    Type Parameters
    Name Description
    TObject

    The type of the t object.

    Overrides
    AssetProductReference.LoadAssetAsync<TObject>()

    ReleaseAsset()

    Releases the asset.

    Declaration
    public override void ReleaseAsset()
    Overrides
    AssetProductReference.ReleaseAsset()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023