docs.unity.cn
    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
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 10, 2023