docs.unity3d.com
    Show / Hide Table of Contents

    Class ConfiguratorSettings

    Settings of the configurator.

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    ConfiguratorSettings
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Component.rigidbody
    Component.rigidbody2D
    Component.camera
    Component.light
    Component.animation
    Component.constantForce
    Component.renderer
    Component.audio
    Component.networkView
    Component.collider
    Component.collider2D
    Component.hingeJoint
    Component.particleSystem
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.Industrial.Configuring.ConfiguratorRuntime
    Syntax
    [ExecuteInEditMode]
    public class ConfiguratorSettings : MonoBehaviour

    Properties

    analyticsPrefab

    Prefab containing the analytics engine provider.

    Declaration
    public GameObject analyticsPrefab { get; set; }
    Property Value
    Type Description
    GameObject

    The analytics prefab.

    pricingEnginePrefab

    Prefab containing the price engine provider.

    Declaration
    public GameObject pricingEnginePrefab { get; set; }
    Property Value
    Type Description
    GameObject

    The pricing engine prefab.

    productPrefabs

    Product prefabs available in this configurator.

    Declaration
    public ReadOnlyCollection<AssetProductReference> productPrefabs { get; }
    Property Value
    Type Description
    ReadOnlyCollection<AssetProductReference>

    The product prefabs.

    ProductSources

    Gets the product sources.

    Declaration
    public ReadOnlyCollection<IProductSource> ProductSources { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IProductSource>

    The product sources.

    ruleEnginePrefab

    Prefab containing the rule engine provider.

    Declaration
    public GameObject ruleEnginePrefab { get; set; }
    Property Value
    Type Description
    GameObject

    The rule engine prefab.

    runtimeUIDataEnginePrefab

    Prefab containing the info engine provider.

    Declaration
    public GameObject runtimeUIDataEnginePrefab { get; set; }
    Property Value
    Type Description
    GameObject

    The runtime UI data engine prefab.

    runtimeUISettings

    Runtime UI settings for the configurators

    Declaration
    public ConfiguratorRuntimeUISettings runtimeUISettings { get; set; }
    Property Value
    Type Description
    ConfiguratorRuntimeUISettings

    The runtime UI settings.

    ValidProductPrefabs

    Gets the valid product prefabs.

    Declaration
    public IEnumerable<AssetProductReference> ValidProductPrefabs { get; }
    Property Value
    Type Description
    IEnumerable<AssetProductReference>

    The valid product prefabs.

    Methods

    AddProduct(AssetProductReference)

    Adds the product.

    Declaration
    public void AddProduct(AssetProductReference assetReference)
    Parameters
    Type Name Description
    AssetProductReference assetReference

    The asset reference.

    AddProductSource(IProductSource, Boolean, Boolean)

    Adds the product source.

    Declaration
    public void AddProductSource(IProductSource productSource, bool addToSourceList = true, bool addSourceProductsFromList = true)
    Parameters
    Type Name Description
    IProductSource productSource

    The product source.

    Boolean addToSourceList

    if set to true [add to source list].

    Boolean addSourceProductsFromList

    if set to true [add source products from list].

    Exceptions
    Type Condition
    ArgumentNullException

    productSource

    FindProductSourceOwners(AssetProductReference)

    Find the ProductSource owner of the product guid (key).

    Declaration
    public List<IProductSource> FindProductSourceOwners(AssetProductReference productReference)
    Parameters
    Type Name Description
    AssetProductReference productReference

    Asset Product Reference

    Returns
    Type Description
    List<IProductSource>

    Related ProductSource

    Exceptions
    Type Condition
    ArgumentNullException

    productReference

    GetProductAtIndex(Int32)

    Gets the index of the product at.

    Declaration
    public AssetProductReference GetProductAtIndex(int index)
    Parameters
    Type Name Description
    Int32 index

    The index.

    Returns
    Type Description
    AssetProductReference

    AssetProductReference.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    There is no product with {index}.

    Init(ConfigurationManager)

    Initializes the specified configuration manager.

    Declaration
    public void Init(ConfigurationManager configurationManager)
    Parameters
    Type Name Description
    ConfigurationManager configurationManager

    The configuration manager.

    RemoveProductAtIndexFromSource(Int32)

    Will remove the product at index from the ProductSource owner.

    Declaration
    public AssetProductReference RemoveProductAtIndexFromSource(int index)
    Parameters
    Type Name Description
    Int32 index

    The index.

    Returns
    Type Description
    AssetProductReference

    AssetProductReference.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    There is no product with {index}.

    ArgumentException

    There is no product with {index}.

    RemoveProductSource(IProductSource, Boolean, Boolean)

    Removes the product source.

    Declaration
    public void RemoveProductSource(IProductSource productSource, bool removeFromSourceList = true, bool removeSourceProductsFromList = true)
    Parameters
    Type Name Description
    IProductSource productSource

    The product source.

    Boolean removeFromSourceList

    if set to true [remove from source list].

    Boolean removeSourceProductsFromList

    if set to true [remove source products from list].

    Exceptions
    Type Condition
    ArgumentNullException

    productSource

    Events

    productSourceAdded

    Occurs when [product source added].

    Declaration
    public event ProductSourceChanged productSourceAdded
    Event Type
    Type Description
    ProductSourceChanged

    productSourceRemoved

    Occurs when [product source removed].

    Declaration
    public event ProductSourceChanged productSourceRemoved
    Event Type
    Type Description
    ProductSourceChanged

    settingsChanged

    Occurs when [settings changed].

    Declaration
    public event SettingsChanged settingsChanged
    Event Type
    Type Description
    SettingsChanged

    Extension Methods

    Async.StartThrowingCoroutine(MonoBehaviour, IEnumerator, Action<Exception>)
    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