A game about forced loneliness, made by TACStudios
1using UnityEngine.Assertions;
2
3namespace UnityEditor.ShaderGraph
4{
5 static class AssertHelpers
6 {
7 public static void IsNotNull(object anObject, string message)
8 {
9#if SG_ASSERTIONS
10 Assert.IsNotNull(anObject, message);
11#endif
12 }
13
14 public static void Fail(string message)
15 {
16#if SG_ASSERTIONS
17 throw new AssertionException(message, null);
18#endif
19 }
20 }
21}