docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ITestPlayerBuildModifier

    An interface for a callback modifying the BuildPlayerOptions when building a player for running tests in the runtime.

    Namespace: UnityEditor.TestTools
    Assembly: UnityEditor.TestRunner.dll
    Syntax
    public interface ITestPlayerBuildModifier

    Methods

    ModifyOptions(BuildPlayerOptions)

    A callback to modify the BuildPlayerOptions when building a player for test run. Return the modified version of the provided build options.

    Declaration
    BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions)
    Parameters
    Type Name Description
    BuildPlayerOptions playerOptions

    The unmodified BuildPlayerOptions.

    Returns
    Type Description
    BuildPlayerOptions

    The modified BuildPlayerOptions.

    In This Article
    Back to top
    Copyright © 2025 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)