Maze / Library /PackageCache /com.unity.test-framework@1.1.33 /UnityEditor.TestRunner /NUnitExtension /Attributes /ITestPlayerBuildModifier.cs
| namespace UnityEditor.TestTools | |
| { | |
| /// <summary> | |
| /// An interface for a callback modifying the <see cref="BuildPlayerOptions"/> when building a player for running tests in the runtime. | |
| /// </summary> | |
| public interface ITestPlayerBuildModifier | |
| { | |
| /// <summary> | |
| /// A callback to modify the <see cref="BuildPlayerOptions"/> when building a player for test run. Return the modified version of the provided build options. | |
| /// </summary> | |
| /// <param name="playerOptions">The unmodified BuildPlayerOptions.</param> | |
| /// <returns>The modified BuildPlayerOptions.</returns> | |
| BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions); | |
| } | |
| } |