Interface ITestPlayerBuildModifier
An interface for a callback modifying the UnityEditor.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 UnityEditor.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. |
ModifyOptions(BuildPlayerWithProfileOptions)
Declaration
BuildPlayerWithProfileOptions ModifyOptions(BuildPlayerWithProfileOptions playerOptions)
Parameters
Type | Name | Description |
---|---|---|
BuildPlayerWithProfileOptions | playerOptions |
Returns
Type | Description |
---|---|
BuildPlayerWithProfileOptions |