From f03f82220c2fc10514709c2b206e33069fb34ee5 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sat, 11 May 2024 15:11:46 +0900 Subject: [PATCH] Fix passing Logger instance to Monkey --- Runtime/Agents/UGUIMonkeyAgent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Agents/UGUIMonkeyAgent.cs b/Runtime/Agents/UGUIMonkeyAgent.cs index 42b44f1..66204be 100644 --- a/Runtime/Agents/UGUIMonkeyAgent.cs +++ b/Runtime/Agents/UGUIMonkeyAgent.cs @@ -105,6 +105,7 @@ public override async UniTask Run(CancellationToken token) Lifetime = lifespanSec > 0 ? TimeSpan.FromSeconds(lifespanSec) : TimeSpan.MaxValue, DelayMillis = delayMillis, Random = random, + Logger = Logger, SecondsToErrorForNoInteractiveComponent = secondsToErrorForNoInteractiveComponent, Gizmos = gizmos, Screenshots = screenshotEnabled