Skip to content

Commit 3082408

Browse files
authored
Update DebugWrapper.cs
Add missing method which is used in common Ad network like chartboost
1 parent 14fbe47 commit 3082408

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Assets/UnityFileDebug/Lib/Logger/Scripts/DebugWrapper.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public enum DLogType
1616
Input,
1717
Network,
1818
Physics
19-
}
20-
19+
}
20+
2121
public static class Debug
2222
{
2323
#region Assert
@@ -36,6 +36,7 @@ public static class Debug
3636
#region Helper
3737
public static void Break() { UnityEngine.Debug.Break(); }
3838
public static void ClearDeveloperConsole() { UnityEngine.Debug.ClearDeveloperConsole(); }
39+
public static bool isDebugBuild { get { return UnityEngine.Debug.isDebugBuild; } }
3940
#endregion
4041

4142
#region Draw
@@ -72,4 +73,4 @@ public static class Debug
7273
public static void LogWarning(object message, DLogType type = DLogType.Warning) { UnityEngine.Debug.LogWarning("[" + type + "] " + message); }
7374
public static void LogWarning(object message, Object context, DLogType type = DLogType.Warning) { UnityEngine.Debug.LogWarning("[" + type + "] " + message, context); }
7475
#endregion
75-
}
76+
}

0 commit comments

Comments
 (0)