Skip to content

Commit 058aab1

Browse files
committed
fix test
1 parent 2291d3e commit 058aab1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/Tests/InputSystem/Plugins/UITests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2630,8 +2630,10 @@ public void UI_ClickDraggingMouseDoesNotAllocateGCMemory()
26302630
Release(mouse.leftButton);
26312631
scene.eventSystem.InvokeUpdate();
26322632

2633+
#if UNITY_2023_2_OR_NEWER // UnityEngine.InputForUI Module unavailable in earlier releases
26332634
// Process all queued UI events to ensure that next events will not make the events list capacity growing
26342635
UnityEngine.InputForUI.EventProvider.NotifyUpdate();
2636+
#endif
26352637

26362638
var kProfilerRegion = "UI_ClickDraggingDoesNotAllocateGCMemory";
26372639

0 commit comments

Comments
 (0)