docs.unity3d.com
    Show / Hide Table of Contents

    Class Utilities

    Class Utilities.

    Inheritance
    Object
    Utilities
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    public static class Utilities

    Fields

    productSetupPanel

    The product setup panel

    Declaration
    public static IProductSetupPanel productSetupPanel
    Field Value
    Type Description
    IProductSetupPanel

    productStagingPanel

    The product staging panel

    Declaration
    public static IStagingPanel productStagingPanel
    Field Value
    Type Description
    IStagingPanel

    Methods

    CreateGameObject(GameObject, String)

    Allow creating a game object in scene or prefab edit mode. Mainly used to add new variant table object.

    Declaration
    public static GameObject CreateGameObject(GameObject parent, string name = "GameObject")
    Parameters
    Type Name Description
    GameObject parent

    The parent.

    String name

    The name.

    Returns
    Type Description
    GameObject

    GameObject.

    FixRuntimeProductEditorMaterials(Product)

    Workaround that fix pink materials when loading another platform addressable content in the Editor. (eg: loading an Android catalog in Windows Editor)

    Declaration
    public static void FixRuntimeProductEditorMaterials(Product product)
    Parameters
    Type Name Description
    Product product

    Product to fix

    GetValidationReport(ProductRuntimeUIData)

    Iterate through the Product's Feature Table and Validate that the data in ProductRuntimeUIData is Valid

    Declaration
    public static void GetValidationReport(ProductRuntimeUIData data)
    Parameters
    Type Name Description
    ProductRuntimeUIData data

    The data.

    NormalizePath(String)

    Will normalize the directory separator Chars based on the current platform (eg: '' or '/').

    Declaration
    public static string NormalizePath(string path)
    Parameters
    Type Name Description
    String path

    PAth to normalize

    Returns
    Type Description
    String

    Normalized path

    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