示例#1
0
 protected override bool IsColliding(IGridCollider collider, out Collision collision)
 {
     return(CollisionUtils.IsShapeCollidingGrid(IntersectionUtils.Collides, this, collider, out collision));
 }
示例#2
0
 protected override bool IsColliding(RectangleCollider collider, out Collision collision)
 {
     return(CollisionUtils.IsColliding <Circle, TopLeftRectangle>(IntersectionUtils.Collides, this, collider, out collision));
 }