9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
17 lines
452 B
C#
17 lines
452 B
C#
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;
|
|
}
|
|
}
|
|
}
|