docs.unity3d.com
    Show / Hide Table of Contents

    Class ConfiguratorEditorExtensions

    Inheritance
    Object
    ConfiguratorEditorExtensions
    Namespace: Unity.Industrial.Forma.Editor.UI.Service
    Syntax
    public static class ConfiguratorEditorExtensions : object

    Methods

    AddStagingItemToConfigurator(Configurator, StagingItem, StagingType)

    Add a stagingItem to the configurator and Find or Create related commands gameObject

    Declaration
    public static GameObject AddStagingItemToConfigurator(this Configurator configurator, StagingItem stagingItem, StagingType stagingType)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    StagingItem stagingItem

    The staging item.

    StagingType stagingType

    Type of the staging.

    Returns
    Type Description
    GameObject

    GameObject.

    GetStagingItemCount(Configurator, StagingType)

    Gets the staging item count.

    Declaration
    public static int GetStagingItemCount(this Configurator configurator, StagingType stagingType)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    StagingType stagingType

    Type of the staging.

    Returns
    Type Description
    Int32

    System.Int32.

    PopulateStagingItemList(Configurator, StagingType)

    Will find all StagingItems in Project and add it to the configurator.

    Declaration
    public static void PopulateStagingItemList(this Configurator configurator, StagingType stagingType)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    StagingType stagingType

    Type of the staging.

    PopulateStagingItemListFromCurrentScene(Configurator, StagingType)

    Will find all stagingItemCommandSettings in current Scene and add it to the configurator.

    Declaration
    public static void PopulateStagingItemListFromCurrentScene(this Configurator configurator, StagingType stagingType)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    StagingType stagingType

    Type of the staging.

    SynchronizeSettings(Configurator, ConfiguratorProfileReference)

    Synchronize Environments from profile to the Configurator staging settings TODO: This method should remove

    Declaration
    public static void SynchronizeSettings(this Configurator configurator, ConfiguratorProfileReference configuratorProfileReference)
    Parameters
    Type Name Description
    Configurator configurator
    ConfiguratorProfileReference configuratorProfileReference

    UnpopulateStagingItemList(Configurator, StagingType)

    Unpopulates the staging item list.

    Declaration
    public static IEnumerable<StagingItem> UnpopulateStagingItemList(this Configurator configurator, StagingType stagingType)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    StagingType stagingType

    Type of the staging.

    Returns
    Type Description
    IEnumerable<StagingItem>

    IEnumerable<StagingItem>.

    Back to top
    Terms of use
    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