You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following methods in DebugDraw are obsolete but without new Vector2 based version:
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawPolygon(in Vec2[] vertices, int vertexCount, in Color color);
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawSolidPolygon(in Vec2[] vertices, int vertexCount, in Color color);
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawCircle(in Vec2 center, float radius, in Color color);
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawSolidCircle(in Vec2 center, float radius, in Vec2 axis, in Color color);
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawSegment(in Vec2 p1, in Vec2 p2, in Color color);
### How To Reproduce
Implement inherited class and compiler spits out warnings
### Expected Behavior
The abstract DebugDraw class should provide non obsolete method versions:
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawPolygon(in Vec2[] vertices, int vertexCount, in Color color);
public abstract void DrawPolygon(in Vector2[] vertices, int vertexCount, in Color color);
The text was updated successfully, but these errors were encountered:
Description
The following methods in DebugDraw are obsolete but without new Vector2 based version:
[Obsolete("Look out for new calls using Vector2")]
public abstract void DrawPolygon(in Vec2[] vertices, int vertexCount, in Color color);
public abstract void DrawPolygon(in Vector2[] vertices, int vertexCount, in Color color);
The text was updated successfully, but these errors were encountered: