onCollisionCallback property

  1. @override
CollisionCallback<ShapeHitbox>? onCollisionCallback
getter/setter pairoverride

Assign your own CollisionCallback if you want a callback when this shape collides with another T.

Implementation

@override
CollisionCallback<ShapeHitbox>? onCollisionCallback;