fix: Shape & Circle Colliders Parametered Constructs Null Transform Error

This commit is contained in:
2024-01-27 21:15:17 +03:00
parent 69eca44dd8
commit 2ca243d79c
2 changed files with 2 additions and 10 deletions

View File

@@ -14,9 +14,5 @@ public class Collider2DShapeBehaviour : Collider2DBehaviourBase, IShapeCollider2
public Collider2DShapeBehaviour() { }
public Collider2DShapeBehaviour(Shape shape)
{
ShapeLocal = shape;
Recalculate();
}
public Collider2DShapeBehaviour(Shape shape) => ShapeLocal = shape;
}