docs.unity3d.com
    Show / Hide Table of Contents

    Class StagingExtensions

    Class StagingExtensions.

    Inheritance
    Object
    StagingExtensions
    Namespace: Unity.Industrial.Forma.Staging
    Syntax
    public static class StagingExtensions : object

    Fields

    commandRootGoName

    The command root go name

    Declaration
    public const string commandRootGoName = null
    Field Value
    Type Description
    String

    Properties

    configuratorCommands

    Gets or sets the configurator commands.

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

    The configurator commands.

    Methods

    FindStagingItemCommandsContainer(Configurator)

    Find command container root gameObject in scene (Create one if not exist)

    Declaration
    public static Transform FindStagingItemCommandsContainer(Configurator configurator)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    Returns
    Type Description
    Transform

    Transform.

    IsInstance(Object)

    Is a scene gameObject? (we don't accept project view prefab reference. Since staging commands are MonoBehaviors, they will not be executed in play mode if they are not instantiated)

    Declaration
    public static bool IsInstance(Object item)
    Parameters
    Type Name Description
    Object item

    The item.

    Returns
    Type Description
    Boolean

    true if the specified item is instance; otherwise, false.

    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