예제 #1
0
 protected override bool IsColliding(CircleCollider collider, out Collision collision)
 {
     return(CollisionUtils.IsColliding(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));
 }