docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021