mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
add EcsDebug.Break
This commit is contained in:
parent
d674f2da8b
commit
49dd0eaa97
@ -80,7 +80,7 @@ namespace DCFApixels.DragonECS
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Print(object v) => Print(null, v);
|
||||
public abstract void Print(string tag, object v);
|
||||
|
||||
public abstract void Break();
|
||||
public int RegisterMark(string name)
|
||||
{
|
||||
int id;
|
||||
@ -123,6 +123,10 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
Console.WriteLine($"[{tag}] {v}");
|
||||
}
|
||||
public override void Break()
|
||||
{
|
||||
Console.ReadLine();
|
||||
}
|
||||
public override void ProfilerMarkBegin(int id)
|
||||
{
|
||||
_stopwatchs[id].Start();
|
||||
|
Loading…
Reference in New Issue
Block a user