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 9ca2549 commit ce71107Copy full SHA for ce71107
Assets/Tests/InputSystem/Plugins/UITests.InputModuleTests.cs
@@ -157,6 +157,17 @@ public IEnumerator PointerExitChildShouldFullyExit()
157
Assert.IsTrue(callbackCheck.pointerData.fullyExited == true);
158
}
159
160
+ [UnityTest]
161
+ [Description("Regression test for https://jira.unity3d.com/browse/ISXB-1493")]
162
+ public IEnumerator DisablingDoesNotResetActions()
163
+ {
164
+ m_InputModule.enabled = false;
165
+
166
+ yield return null;
167
168
+ Assert.IsNotNull(m_InputModule.cancel, "Disabling component shouldn't lose its data.");
169
+ }
170
171
public class PointerExitCallbackCheck : MonoBehaviour, IPointerExitHandler
172
{
173
public PointerEventData pointerData { get; private set; }
0 commit comments