Initial commit

This commit is contained in:
2026-03-03 00:39:30 +05:00
commit fc01f07d9b
29933 changed files with 5353098 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System;
using UnityEngine;
namespace Unity.PlasticSCM.Editor.UI
{
internal static class CheckUnityException
{
internal static bool IsExitGUIException(Exception ex)
{
return ex is ExitGUIException;
}
internal static bool IsIMGUIPaintException(Exception ex)
{
if (!(ex is ArgumentException))
return false;
return ex.Message.StartsWith("Getting control") &&
ex.Message.Contains("controls when doing repaint");
}
}
}