docs.unity3d.com
    Show / Hide Table of Contents

    Class ExportProfileExtension

    Class ExportProfileExtension.

    Inheritance
    Object
    ExportProfileExtension
    Namespace: Unity.Industrial.Forma.Editor.UI.Components
    Syntax
    public static class ExportProfileExtension : object

    Methods

    GetBuildTargetGroupName(BuildTargetGroup)

    Get the serializable Build Target Group Name of a BuildTargetGroup

    Declaration
    public static string GetBuildTargetGroupName(BuildTargetGroup buildTargetGroup)
    Parameters
    Type Name Description
    BuildTargetGroup buildTargetGroup

    BuildTargetGroup

    Returns
    Type Description
    String

    Serializable Name

    GetFormaSupportedBuildTargetByName(String)

    Get the selected build target with DisplayName as a Forma SupportedBuildTarget.

    Declaration
    public static SupportedBuildTarget GetFormaSupportedBuildTargetByName(string targetDisplayName)
    Parameters
    Type Name Description
    String targetDisplayName

    Target DisplayName

    Returns
    Type Description
    SupportedBuildTarget

    SupportedBuildTarget

    NicifyName(String)

    Nicify platform's name and remove the 'standalone' word from it.

    Declaration
    public static string NicifyName(string supportBuildEnum)
    Parameters
    Type Name Description
    String supportBuildEnum

    The support build enum.

    Returns
    Type Description
    String

    System.String.

    NicifyName(SupportedBuildTarget)

    Nicify platform's name and remove the 'standalone' word from it.

    Declaration
    public static string NicifyName(this SupportedBuildTarget supportBuildEnum)
    Parameters
    Type Name Description
    SupportedBuildTarget supportBuildEnum

    The support build enum.

    Returns
    Type Description
    String

    System.String.

    ToFormaSupportedBuildTarget(BuildProfile)

    Get the selected build target from a build profile as a Forma SupportedBuildTarget.

    Declaration
    public static SupportedBuildTarget ToFormaSupportedBuildTarget(this BuildProfile buildProfile)
    Parameters
    Type Name Description
    BuildProfile buildProfile

    BuildProfile

    Returns
    Type Description
    SupportedBuildTarget

    SupportedBuildTarget

    ToUnityBuildTarget(BuildProfile)

    Get the selected build target from a build profile as a Unity BuildTarget.

    Declaration
    public static BuildTarget ToUnityBuildTarget(this BuildProfile buildProfile)
    Parameters
    Type Name Description
    BuildProfile buildProfile

    BuildProfile

    Returns
    Type Description
    BuildTarget

    BuildTarget

    ToUnityBuildTarget(SupportedBuildTarget)

    Converts Forma Supported Build Target to Unity Build Target.

    Declaration
    public static BuildTarget ToUnityBuildTarget(this SupportedBuildTarget supportBuildEnum)
    Parameters
    Type Name Description
    SupportedBuildTarget supportBuildEnum

    The support build enum.

    Returns
    Type Description
    BuildTarget

    BuildTarget.

    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