예제 #1
0
 public override void HitByAir(Vector2 normal, NPlayerController wielder)
 {
     base.HitByAir(normal, wielder);
     Physics2D.IgnoreCollision(cc, this.wielder.GetCollider(), false);
     Physics2D.IgnoreCollision(cc, wielder.GetCollider(), true);
     this.wielder = wielder;
     rb.velocity  = normal * speed;
 }