DebugServices

Namespace: Murder.Services
Assembly: Murder.dll

public static class DebugServices

⭐ Properties

DebugPreviewImage

public static Texture2D DebugPreviewImage;

Returns
Texture2D

⭐ Methods

StopwatchStart()

public DateTime StopwatchStart()

Returns
DateTime

StopwatchStop()

public float StopwatchStop()

Returns
float

SaveLogAsync(string)

public Task SaveLogAsync(string fullpath)

Parameters
fullpath string

Returns
Task

DrawLine(World, Vector2, Vector2, float, Color)

public void DrawLine(World world, Vector2 start, Vector2 end, float duration, Color color)

Parameters
world World
start Vector2
end Vector2
duration float
color Color

DrawLine(World, Vector2, Vector2, float)

public void DrawLine(World world, Vector2 start, Vector2 end, float duration)

Parameters
world World
start Vector2
end Vector2
duration float

DrawPoint(World, Vector2, float)

public void DrawPoint(World world, Vector2 point, float duration)

Parameters
world World
point Vector2
duration float

DrawRect(World, Rectangle, float)

public void DrawRect(World world, Rectangle rect, float duration)

Parameters
world World
rect Rectangle
duration float

DrawText(World, string, Vector2, float, Color)

public void DrawText(World world, string ev, Vector2 position, float duration, Color color)

Parameters
world World
ev string
position Vector2
duration float
color Color

DrawText(World, string, Vector2, float)

public void DrawText(World world, string ev, Vector2 position, float duration)

Parameters
world World
ev string
position Vector2
duration float