You've already forked Dpr-ScriptsOnly
mirror of
https://github.com/izzy2lost/Dpr-ScriptsOnly.git
synced 2026-03-10 11:49:05 -07:00
22 lines
421 B
C#
22 lines
421 B
C#
using UnityEngine;
|
|
|
|
public static class GFL
|
|
{
|
|
// Both of these are stubs in the actuall code
|
|
public static void ASSERT(bool condition)
|
|
{
|
|
if (!condition)
|
|
{
|
|
Logger.Log("Assertion failed");
|
|
}
|
|
}
|
|
|
|
public static void ASSERT(bool condition, string format)
|
|
{
|
|
if (!condition)
|
|
{
|
|
Logger.Log($"Assertion failed: {format}");
|
|
}
|
|
}
|
|
}
|