{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method ScopedStep | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ScopedStep

    ScopedStep(IBuildLogger, LogLevel, string, bool)

    Begins a new build step and returns an ScopedBuildStep which will end the build step when disposed. It is recommended to use this in conjunction with the using statement.

    Declaration
    public static ScopedBuildStep ScopedStep(this IBuildLogger log, LogLevel level, string stepName, bool multiThreaded = false)
    Parameters
    Type Name Description
    IBuildLogger log

    The build log.

    LogLevel level

    The log level of this step.

    string stepName

    A name associated with the step.

    bool multiThreaded

    True if within this build step the IBuildLogger will be used on multiple threads.

    Returns
    Type Description
    ScopedBuildStep

    Returns a ScopedBuildStep that will end the build step when it is disposed.

    ScopedStep(IBuildLogger, LogLevel, string, string)

    Begins a new build step and returns an ScopedBuildStep which will end the build step when disposed. It is recommended to use this in conjunction with the using statement.

    Declaration
    public static ScopedBuildStep ScopedStep(this IBuildLogger log, LogLevel level, string stepName, string context)
    Parameters
    Type Name Description
    IBuildLogger log

    The build log.

    LogLevel level

    The log level of this step.

    string stepName

    A name associated with the step.

    string context

    Adds an entry message the build step. This allows attaching specific context data without changing the stepName.

    Returns
    Type Description
    ScopedBuildStep

    Returns a ScopedBuildStep that will end the build step when it is disposed.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)