protected override void OnCollection(Collider2D collider) { PlaneController plane = collider.GetComponent <PlaneController>(); if (plane == null || plane == _Own || plane.tag == _Own.tag) { return; } plane.BeShooted(_Own); }
protected override void OnCollection(Collider2D collider) { PlaneController plane = collider.GetComponent <PlaneController>(); if (plane == null || plane == _Own || plane.tag == _Own.tag) { return; } plane.BeShooted(_Own); }