説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

MarkRunAsPlayModeTask.cs 614B

12345678910111213141516171819
  1. using System.Collections;
  2. namespace UnityEditor.TestTools.TestRunner.TestRun.Tasks
  3. {
  4. internal class MarkRunAsPlayModeTask : TestTaskBase
  5. {
  6. public MarkRunAsPlayModeTask()
  7. {
  8. RerunAfterResume = true;
  9. }
  10. public override IEnumerator Execute(TestJobData testJobData)
  11. {
  12. // This is a workaround to raise the signal that Playmode Launcher is running.
  13. // It is used by the graphics test framework, as there is no api to provide that information yet.
  14. PlaymodeLauncher.IsRunning = true;
  15. yield break;
  16. }
  17. }
  18. }