We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe04e0 commit b204ba9Copy full SHA for b204ba9
Assets/Tests/InputSystem/Plugins/MockKeyboardWithUITests.cs
@@ -17,6 +17,7 @@ public class MockKeyboardWithUITests : InputTestFixture
17
private GameObject m_ButtonGo;
18
private InputActionAsset m_InputActionAsset;
19
20
+ // We only use this simple class as an adapter for a lambda closure that we need for assertion to work below.
21
public class CancellationHandler : MonoBehaviour, ICancelHandler
22
{
23
public Action trigger;
@@ -57,6 +58,8 @@ public override void TearDown()
57
58
GameObject.Destroy(m_EventSystemGo);
59
GameObject.Destroy(m_CanvasGo);
60
61
+ GameObject.Destroy(m_InputActionAsset);
62
+
63
InputSystem.RemoveDevice(m_Keyboard);
64
65
base.TearDown();
0 commit comments