Class RecompileScripts
RecompileScripts is an IEditModeTestYieldInstruction that you can yield in Edit Mode tests. It lets you trigger a recompilation of scripts in the Unity Editor.
상속된 멤버
네임스페이스: UnityEngine.TestTools
어셈블리: solution.dll
구문
public class RecompileScripts : IEditModeTestYieldInstruction
생성자
| 이름 | 설명 |
|---|---|
| RecompileScripts() | Creates a new instance of the
|
| RecompileScripts(bool) | Creates a new instance of the |
| RecompileScripts(bool, bool) | Creates a new instance of the |
프로퍼티
| 이름 | 설명 |
|---|---|
| Current | The current active instance of the RecompileScripts yield instruction. |
| ExpectDomainReload | Returns true if the instruction expects a domain reload to occur. |
| ExpectScriptCompilation | Indicates whether a script compilation is expected. |
| ExpectScriptCompilationSuccess | Indicates whether the expected script compilation is expected to succeed. |
| ExpectedPlaymodeState | Returns true if the instruction expects the Unity Editor to be in Play Mode. |
메서드
| 이름 | 설명 |
|---|---|
| Perform() | Perform the multi step instruction of triggering a recompilation of scripts and waiting for its completion. |