示例#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));
 }
 abstract public bool CheckCollider(Check2DCollider collider);