public class ModDebugDrawer
Utility class that helps the user do immediate drawing operations. An instance is available through ModAPI.Draw
Methods
public (constructor) ModDebugDrawer(Stack<System.Action> actions)
Constructs a debug drawer
public void Line(Vector3 from, Vector3 to)
Draw a line from one point to another
public void Rect(Vector3 center, Vector3 size)
Draw a rectangle
public void Circle(Vector3 center, float radius)
Draw a circle
public void Collider(Collider2D collider)
Draw a 2D collider's actual hitbox. It supports BoxCollider2D, PolygonCollider2D, EdgeCollider2D, CircleCollider2D
bi bij bibi