예제 #1
0
 public override bool CheckCollider(Check2DCollider collider)
 {
     if (collider == null)
     {
         return(false);
     }
     return(collider.CheckRect(this.center, this.forward, halfWidth, halfHeight));
 }
예제 #2
0
 public override bool CheckCollider(Check2DCollider collider)
 {
     if (collider == null)
     {
         return(false);
     }
     return(collider.CheckCircle(this.center, radius));
 }
예제 #3
0
 abstract public bool CheckCollider(Check2DCollider collider);