new input actions, basic onmove function that logs input values

This commit is contained in:
2026-02-16 15:02:20 +01:00
parent 5a4f14ebe0
commit 227f8bde40
3810 changed files with 314088 additions and 7620 deletions

View File

@@ -0,0 +1,16 @@
using System;
namespace UnityEngine.InputSystem.Utilities
{
internal static class ExceptionHelpers
{
public static bool IsExceptionIndicatingBugInCode(this Exception exception)
{
Debug.Assert(exception != null, "Exception is null");
return exception is NullReferenceException ||
exception is IndexOutOfRangeException ||
exception is ArgumentException;
}
}
}