This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2025-02-24 15:18:12 +09:00

31 lines
660 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace WIFramework.Util
{
public static class DebugExtractor
{
static uint call;
static uint callCounter
{
get
{
if (call == uint.MaxValue)
call = 0;
return call++;
}
}
public static void LogError(this Debug d, string v)
{
Debug.LogError($"{callCounter} : {v}");
}
public static void Log(string format)
{
Debug.Log($"{callCounter} : {format}");
}
}
}