docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProductSource

    Interface IProductSource

    Namespace: UnityEngine.Industrial.Configuring.ConfiguratorRuntime
    Syntax
    public interface IProductSource

    Properties

    IsLoaded

    Gets or sets a value indicating whether this instance is loaded.

    Declaration
    bool IsLoaded { get; set; }
    Property Value
    Type Description
    Boolean

    true if this instance is loaded; otherwise, false.

    IsLoading

    Gets or sets a value indicating whether this instance is loading.

    Declaration
    bool IsLoading { get; set; }
    Property Value
    Type Description
    Boolean

    true if this instance is loading; otherwise, false.

    Products

    Gets the products.

    Declaration
    List<AssetProductReference> Products { get; }
    Property Value
    Type Description
    List<AssetProductReference>

    The products.

    Methods

    Load()

    Loads this instance.

    Declaration
    IEnumerator Load()
    Returns
    Type Description
    IEnumerator

    IEnumerator.

    RemoveProduct(String, Boolean)

    Removes the product.

    Declaration
    void RemoveProduct(string key, bool sendEvent = true)
    Parameters
    Type Name Description
    String key

    The key.

    Boolean sendEvent

    if set to true [send event].

    Unload()

    Unloads this instance.

    Declaration
    IEnumerator Unload()
    Returns
    Type Description
    IEnumerator

    IEnumerator.

    Events

    onProductAdded

    Occurs when [on product added].

    Declaration
    event ProductSource.ProductReferenceEvent onProductAdded
    Event Type
    Type Description
    ProductSource.ProductReferenceEvent

    onProductRemoved

    Occurs when [on product removed].

    Declaration
    event ProductSource.ProductGuidEvent onProductRemoved
    Event Type
    Type Description
    ProductSource.ProductGuidEvent
    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